mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-11 11:35:54 +02:00
Ramdisk bearbeitet und Diskettenimages entfernt. PCMCIA-Utils entfernt. git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@381 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
38 lines
681 B
Bash
38 lines
681 B
Bash
#!/bin/sh
|
|
########################################################################
|
|
# Begin $rc_base/init.d/setclock
|
|
#
|
|
# Description : Setting Linux Clock
|
|
#
|
|
# Authors : Gerard Beekmans - gerard@linuxfromscratch.org
|
|
#
|
|
# Version : 00.00
|
|
#
|
|
# Notes :
|
|
#
|
|
########################################################################
|
|
|
|
. /etc/sysconfig/rc
|
|
. ${rc_functions}
|
|
|
|
CLOCKPARAMS=
|
|
|
|
case ${1} in
|
|
start)
|
|
boot_mesg "Setting system clock..."
|
|
hwclock --hctosys ${CLOCKPARAMS} &>/dev/null
|
|
evaluate_retval
|
|
;;
|
|
|
|
stop)
|
|
boot_mesg "Setting hardware clock..."
|
|
hwclock --systohc ${CLOCKPARAMS} &>/dev/null
|
|
evaluate_retval
|
|
;;
|
|
|
|
*)
|
|
echo "Usage: ${0} {start}"
|
|
;;
|
|
|
|
esac
|