Remove SIG prefix from SIGINT,SIGQUIT,SIGTSTP for POSIX (and dash) compatibility
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
This commit is contained in:
parent
ffc811b68b
commit
c58556f8e8
@ -2,7 +2,7 @@
|
|||||||
# rc - Main Run Level Control Script
|
# rc - Main Run Level Control Script
|
||||||
#
|
#
|
||||||
# Copyright (c) 2003-2011 by Silvan Calarco <silvan.calarco@mambasoft.it>
|
# Copyright (c) 2003-2011 by Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
# Copyright (c) 2003-2009,2011 by Davide Madrisan <davide.madrisan@gmail.com>
|
# Copyright (c) 2003-2009,2011-2012 by Davide Madrisan <davide.madrisan@gmail.com>
|
||||||
|
|
||||||
. /etc/sysconfig/rc
|
. /etc/sysconfig/rc
|
||||||
|
|
||||||
@ -20,7 +20,7 @@ TEXTDOMAINDIR=/usr/share/locale/
|
|||||||
|
|
||||||
HOME="/root"; export HOME
|
HOME="/root"; export HOME
|
||||||
|
|
||||||
trap "" SIGINT SIGQUIT SIGTSTP
|
trap "" INT QUIT TSTP
|
||||||
|
|
||||||
# detect kernel command line parameters
|
# detect kernel command line parameters
|
||||||
# $CMDLINE is exported from mkinitramfs
|
# $CMDLINE is exported from mkinitramfs
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# rc.sysinit - System initialization control script
|
# rc.sysinit - System initialization control script
|
||||||
|
|
||||||
# Copyright (c) 2008-2011 by Silvan Calarco <silvan.calarco@mambasoft.it>
|
# Copyright (c) 2008-2012 by Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
# Modified by Davide Madrisan <davide.madrisan@gmail.com>
|
# Modified by Davide Madrisan <davide.madrisan@gmail.com>
|
||||||
#
|
#
|
||||||
|
|
||||||
@ -19,7 +19,7 @@ LC_ALL=$LANG
|
|||||||
TEXTDOMAIN=initscripts
|
TEXTDOMAIN=initscripts
|
||||||
TEXTDOMAINDIR=/usr/share/locale/
|
TEXTDOMAINDIR=/usr/share/locale/
|
||||||
|
|
||||||
trap "" SIGINT SIGQUIT SIGTSTP
|
trap "" INT QUIT TSTP
|
||||||
|
|
||||||
runlevel=sysinit
|
runlevel=sysinit
|
||||||
rex="[0-9][0-9]"
|
rex="[0-9][0-9]"
|
||||||
|
Loading…
Reference in New Issue
Block a user