/[baselayout]/trunk/init.d.BSD/clock
Gentoo

Diff of /trunk/init.d.BSD/clock

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 2774 Revision 2775
22 22
23 local TBLURB="Local Time" 23 local TBLURB="Local Time"
24 [ "${CLOCK}" = "UTC" ] && TBLURB="UTC" 24 [ "${CLOCK}" = "UTC" ] && TBLURB="UTC"
25 ebegin "Starting the System Clock Adjuster [${TBLURB}]" 25 ebegin "Starting the System Clock Adjuster [${TBLURB}]"
26 if [ "${CLOCK}" != "UTC" ] ; then 26 if [ "${CLOCK}" != "UTC" ] ; then
27 touch /etc/wall_cmos_clock 27 echo >/etc/wall_cmos_clock
28 start-stop-daemon --start --exec /sbin/adjkerntz -- -i 28 start-stop-daemon --start --exec /sbin/adjkerntz -- -i
29 else 29 else
30 rm -f /etc/wall_cmos_clock 30 rm -f /etc/wall_cmos_clock
31 /sbin/adjkerntz -i 31 /sbin/adjkerntz -i
32 fi 32 fi

Legend:
Removed from v.2774  
changed lines
  Added in v.2775

  ViewVC Help
Powered by ViewVC 1.1.20