From: Michael Tremer Date: Sat, 11 Aug 2012 10:31:58 +0000 (+0200) Subject: Set hardware clock on shutdown/reboot. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fheads%2Fsetclock;p=people%2Fms%2Fipfire-2.x.git Set hardware clock on shutdown/reboot. Reported by Stefan Weichinger. --- diff --git a/config/rootfiles/core/62/filelists/files b/config/rootfiles/core/62/filelists/files index 89987a1b6e..55a493195f 100644 --- a/config/rootfiles/core/62/filelists/files +++ b/config/rootfiles/core/62/filelists/files @@ -1,4 +1,6 @@ etc/system-release etc/issue +etc/rc.d/rc0.d/S91setclock +etc/rc.d/rc6.d/S91setclock srv/web/ipfire/cgi-bin/connections.cgi usr/lib/gconv diff --git a/lfs/initscripts b/lfs/initscripts index 03cec8031c..34bfcd9665 100644 --- a/lfs/initscripts +++ b/lfs/initscripts @@ -156,6 +156,8 @@ $(TARGET) : ln -sf ../init.d/leds /etc/rc.d/rc3.d/S21leds ln -sf ../init.d/leds /etc/rc.d/rc6.d/K79leds ln -sf ../init.d/fireinfo /etc/rc.d/rc3.d/S15fireinfo + ln -sf ../init.d/setclock /etc/rc.d/rc0.d/S91setclock + ln -sf ../init.d/setclock /etc/rc.d/rc6.d/S91setclock ln -sf ../init.d/mountkernfs /etc/rc.d/rcsysinit.d/S00mountkernfs ln -sf ../init.d/modules /etc/rc.d/rcsysinit.d/S05modules ln -sf ../init.d/udev /etc/rc.d/rcsysinit.d/S10udev