RELOADSIG="HUP"
# Number of seconds between STOPSIG and FALLBACK when stopping processes
-KILLDELAY="5"
+KILLDELAY="10"
## Screen Dimensions
# Find current screen size
if [ -z "${COLUMNS}" ]; then
- COLUMNS=$(stty size)
+ COLUMNS=$(stty size 2>/dev/null)
COLUMNS=${COLUMNS##* }
fi
boot_mesg -n " ipfire, please be so kind to inform us at"
boot_mesg " info@ipfire.org.\n"
boot_mesg_flush
- boot_mesg -n "Press Enter to continue or wait 3 minutes..." ${INFO}
+ boot_mesg -n "Press Enter to continue or wait a minute..." ${INFO}
boot_mesg "" ${NORMAL}
- read -t 180 ENTER
+ read -t 60 ENTER
}
check_script_status()
{
local pidfile=""
local forcestart=""
- local nicelevel="10"
+ local nicelevel=""
# This will ensure compatibility with previous LFS Bootscripts
if [ -n "${PIDFILE}" ]; then
esac
fi
- nice -n "${nicelevel}" "${@}"
+ local cmd="${@}"
+
+ if [ -n "${nicelevel}" ]; then
+ cmd="nice -n "${nicelevel}" ${cmd}"
+ fi
+
+ ${cmd}
evaluate_retval # This is "Probably" not LSB compliant, but required to be compatible with older bootscripts
return 0
}