]> hackdaworld.org Git - hdw-linux/hdw-linux.git/commitdiff
added setclock init stuff
authorhackbard <hackbard>
Tue, 6 Sep 2005 21:15:46 +0000 (21:15 +0000)
committerhackbard <hackbard>
Tue, 6 Sep 2005 21:15:46 +0000 (21:15 +0000)
doc/CHANGELOG
packages/base/util-linux/util-linux

index 36b5dddc1fd843dc4718c5c9f5d9b14287cac196..68aa73333bf923ff3a677da747c8e706c4f17889 100644 (file)
@@ -1,5 +1,6 @@
 *) 2005-08-06
 
+- added setclock init stuff
 - hopefully! fixed firefox & thunderbird package (using cvs)
 
 *) 2005-08-05
index b950aa7ec552199521aaba08895a61d759575e7b..0eac9de6519b5ef842aa2d33b569761aa66fcdd7 100644 (file)
@@ -30,6 +30,14 @@ if [ "$hdw_status" = "2" ]; then
                mv tmp~ hwclock/hwclock.c &&
                mkdir -p $root/var/lib/hwclock
                        }
+       post_install()  {
+               cp $confdir/setclock_conf $root/etc/conf/setclock
+               chmod 644 $root/etc/conf/setclock
+               cp $confdir/setclock_script $root/etc/init.d/setclock
+               chmod 750 $root/etc/init.d/setclock
+               ln -svf ../setclock $root/etc/init.d/rc2.d/S05setclock
+               ln -svf ../setclock $root/etc/init.d/rc2.d/K95setclock
+                       }
 confopt=""
 make_conf="HAVE_SLN=yes HAVE_KILL=yes"
 install_conf="HAVE_SLN=yes HAVE_KILL=yes"