hi
sorry about that, here u go:
root:/etc# cat /etc/rc.d/rcsysinit.d/S60setclock
#!/bin/sh
########################################################################
# Begin $rc_base/init.d/setclock
#
# Description : Setting Linux Clock
#
# Authors : Gerard Beekmans - [EMAIL PROTECTED]
#
# Version : 00.00
#
# Notes :
#
########################################################################
. /etc/sysconfig/rc
. ${rc_functions}
. /etc/sysconfig/clock
CLOCKPARAMS=
case "${UTC}" in
yes|true|1)
CLOCKPARAMS="${CLOCKPARAMS} --utc"
;;
no|false|0)
CLOCKPARAMS="${CLOCKPARAMS} --localtime"
;;
esac
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
thanx
Andrew Benton wrote:
Hieu wrote:
hi
when i boot up my LFS i get this error message:
/etc/rc.d/rcsysinit.d/S60setclock excited with a return value ofsed:
-e expression #1, char 4: invalid usage of line address 0
please help..
thanks alot.
Perhaps it would help if you posted the contents of
/etc/rc.d/rcsysinit.d/S60setclock?
cat /etc/rc.d/rcsysinit.d/S60setclock
Andy
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page