From c58556f8e8e6baf4a8d1b19fee7e026c40bba552 Mon Sep 17 00:00:00 2001 From: Davide Madrisan Date: Thu, 19 Jan 2012 20:23:54 +0100 Subject: [PATCH] Remove SIG prefix from SIGINT,SIGQUIT,SIGTSTP for POSIX (and dash) compatibility Signed-off-by: Davide Madrisan --- etc/rc.d/init.d/rc | 4 ++-- etc/rc.d/init.d/rc.sysinit | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/etc/rc.d/init.d/rc b/etc/rc.d/init.d/rc index a84a93e..2d09297 100755 --- a/etc/rc.d/init.d/rc +++ b/etc/rc.d/init.d/rc @@ -2,7 +2,7 @@ # rc - Main Run Level Control Script # # Copyright (c) 2003-2011 by Silvan Calarco -# Copyright (c) 2003-2009,2011 by Davide Madrisan +# Copyright (c) 2003-2009,2011-2012 by Davide Madrisan . /etc/sysconfig/rc @@ -20,7 +20,7 @@ TEXTDOMAINDIR=/usr/share/locale/ HOME="/root"; export HOME -trap "" SIGINT SIGQUIT SIGTSTP +trap "" INT QUIT TSTP # detect kernel command line parameters # $CMDLINE is exported from mkinitramfs diff --git a/etc/rc.d/init.d/rc.sysinit b/etc/rc.d/init.d/rc.sysinit index 33ab63a..aa74a28 100755 --- a/etc/rc.d/init.d/rc.sysinit +++ b/etc/rc.d/init.d/rc.sysinit @@ -1,7 +1,7 @@ #!/bin/sh # rc.sysinit - System initialization control script -# Copyright (c) 2008-2011 by Silvan Calarco +# Copyright (c) 2008-2012 by Silvan Calarco # Modified by Davide Madrisan # @@ -19,7 +19,7 @@ LC_ALL=$LANG TEXTDOMAIN=initscripts TEXTDOMAINDIR=/usr/share/locale/ -trap "" SIGINT SIGQUIT SIGTSTP +trap "" INT QUIT TSTP runlevel=sysinit rex="[0-9][0-9]"