--- sysvinit.old/debian/emdebianvarsh Wed Aug 27 19:49:51 2008 +++ /opt/emdebian/trunk/s/sysvinit/trunk/sysvinit-2.86.ds1/debian/emdebianvarsh Wed Aug 27 19:44:13 2008 @@ -0,0 +1,22 @@ +# +# Set rcS vars +# + +[ -f /etc/default/rcS ] && . /etc/default/rcS || true + +# check for bootoption 'noswap' and do not activate swap +# partitions/files when it is set. +if [ -r /proc/cmdline ] && grep -q ' noswap' /proc/cmdline ; then + NOSWAP=yes +else + NOSWAP=no +fi + +# Accept the same 'quiet' option as the kernel +if [ ! -e /proc/cmdline ] || egrep -q 'quiet' /proc/cmdline ; then + VERBOSE="no" +fi + +# But allow both rcS and the kernel options 'quiet' to be overrided +# when INIT_VERBOSE=yes is used as well. +[ "$INIT_VERBOSE" ] && VERBOSE="$INIT_VERBOSE" || true