if ! grep -Fq selinuxfs /proc/filesystems; then
# no support in kernel, no chance
SELINUX=no
- fi
-
- if ! is_fsmounted selinuxfs /selinux; then
+ elif ! is_fsmounted selinuxfs /selinux; then
mount -n -o gid=17 -t selinuxfs selinuxfs /selinux
fi
init_selinux
- # PLD Linux LiveCD support
+ # TLD Linux LiveCD support
if [ -x /etc/rc.d/rc.live ]; then
/etc/rc.d/rc.live
fi
# Print welcome message
-nls "\t\t\t%sPowered by %sPLD Linux Distribution%s" "$(termput setaf $CPOWEREDBY)" "$(termput setaf $CPLD)" "$(termput op)"
+nls "\t\t\t%sPowered by %sTLD Linux%s" "$(termput setaf $CPOWEREDBY)" "$(termput setaf $CTLD)" "$(termput op)"
if ! is_no "$RC_PROMPT"; then
nls -n "\t\t Press %sI%s to enter interactive startup" "$(termput setaf $CI)" "$(termput op)"
echo
. /etc/rc.d/rc.serial
fi
- if [ -n "$PANIC_REBOOT_TIME" -a "$PANIC_REBOOT_TIME" -gt "0" -a -f /proc/sys/kernel/panic ]; then
+ if [ -n "$PANIC_REBOOT_TIME" ] && [ "$PANIC_REBOOT_TIME" -gt "0" ] && [ -f /proc/sys/kernel/panic ]; then
show 'Setting %s seconds for kernel reboot after panic' "$PANIC_REBOOT_TIME"; busy
# DEPRECATED: use /etc/sysctl.conf or kernel commandline instead
if sysctl -q -w kernel.panic=$PANIC_REBOOT_TIME; then ok; else fail; fi