d10a955339
git-svn-id: svn://svn.compuextreme.de/Viitor/V962/Viitor_upstart@4445 504e572c-2e33-0410-9681-be2bf7408885
25 lines
579 B
Plaintext
25 lines
579 B
Plaintext
# rcS - runlevel compatibility
|
|
#
|
|
# This task runs the old sysv-rc startup scripts.
|
|
|
|
start on started mountfs
|
|
|
|
#stop on runlevel
|
|
|
|
# Note: there can be no previous runlevel here, if we have one it's bad
|
|
# information (we enter rc1 not rcS for maintenance). Run /etc/init.d/rc
|
|
# without information so that it defaults to previous=N runlevel=S.
|
|
console output
|
|
script
|
|
source /etc/init.d/functions
|
|
CLOCKPARAMS="--hctosys"
|
|
case "$UTC" in
|
|
yes|true|1)
|
|
CLOCKPARAMS="$CLOCKPARAMS -u"
|
|
;;
|
|
esac
|
|
echo -n "Setting clock.."
|
|
/sbin/hwclock $CLOCKPARAMS
|
|
evaluate_retval
|
|
end script
|