Apache/2.4.7 (Ubuntu) Linux sman1baleendah 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) safemode : OFF MySQL: ON | Perl: ON | cURL: OFF | WGet: ON > / lib / init / | server ip : 104.21.89.46 your ip : 108.162.241.148 H O M E |
Filename | /lib/init/vars.sh |
Size | 1.2 kb |
Permission | rw-r--r-- |
Owner | root : root |
Create time | 27-Apr-2025 09:50 |
Last modified | 13-Mar-2014 09:33 |
Last accessed | 05-Jul-2025 11:25 |
Actions | edit | rename | delete | download (gzip) |
View | text | code | image |
#
# Set rcS vars
#
# Because /etc/default/rcS isn't a conffile, it's never updated
# automatically. So that an empty or outdated file missing newer
# options works correctly, set the default values here.
TMPTIME=0
SULOGIN=no
DELAYLOGIN=no
UTC=yes
VERBOSE=no
FSCKFIX=no
# Source conffile
if [ -f /etc/default/rcS ]; then
. /etc/default/rcS
fi
# Unset old unused options
unset EDITMOTD
unset RAMRUN
unset RAMLOCK
# Don't unset RAMSHM and RAMTMP for now.
# Parse kernel command line
if [ -r /proc/cmdline ]; then
for ARG in $(cat /proc/cmdline); do
case $ARG in
# check for bootoption 'noswap' and do not activate swap
# partitions/files when it is set.
noswap)
NOSWAP=yes
break
;;
# Accept the same 'quiet' option as the kernel, but only
# during boot and shutdown. Only use this rule when the
# variables set by init.d/rc is present.
quiet)
if [ "$RUNLEVEL" ] && [ "$PREVLEVEL" ] ; then
VERBOSE="no"
fi
break
;;
esac
done
fi
# But allow both rcS and the kernel options 'quiet' to be overrided
# when INIT_VERBOSE=yes is used as well.
if [ "$INIT_VERBOSE" ] ; then
VERBOSE="$INIT_VERBOSE"
fi
# Set rcS vars
#
# Because /etc/default/rcS isn't a conffile, it's never updated
# automatically. So that an empty or outdated file missing newer
# options works correctly, set the default values here.
TMPTIME=0
SULOGIN=no
DELAYLOGIN=no
UTC=yes
VERBOSE=no
FSCKFIX=no
# Source conffile
if [ -f /etc/default/rcS ]; then
. /etc/default/rcS
fi
# Unset old unused options
unset EDITMOTD
unset RAMRUN
unset RAMLOCK
# Don't unset RAMSHM and RAMTMP for now.
# Parse kernel command line
if [ -r /proc/cmdline ]; then
for ARG in $(cat /proc/cmdline); do
case $ARG in
# check for bootoption 'noswap' and do not activate swap
# partitions/files when it is set.
noswap)
NOSWAP=yes
break
;;
# Accept the same 'quiet' option as the kernel, but only
# during boot and shutdown. Only use this rule when the
# variables set by init.d/rc is present.
quiet)
if [ "$RUNLEVEL" ] && [ "$PREVLEVEL" ] ; then
VERBOSE="no"
fi
break
;;
esac
done
fi
# But allow both rcS and the kernel options 'quiet' to be overrided
# when INIT_VERBOSE=yes is used as well.
if [ "$INIT_VERBOSE" ] ; then
VERBOSE="$INIT_VERBOSE"
fi