From 59227df4b588c3ceb6c7ec1b8e9624ace067355c Mon Sep 17 00:00:00 2001 From: hackbard Date: Tue, 6 Sep 2005 21:15:46 +0000 Subject: [PATCH] added setclock init stuff --- doc/CHANGELOG | 1 + packages/base/util-linux/util-linux | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/doc/CHANGELOG b/doc/CHANGELOG index 36b5ddd..68aa733 100644 --- a/doc/CHANGELOG +++ b/doc/CHANGELOG @@ -1,5 +1,6 @@ *) 2005-08-06 +- added setclock init stuff - hopefully! fixed firefox & thunderbird package (using cvs) *) 2005-08-05 diff --git a/packages/base/util-linux/util-linux b/packages/base/util-linux/util-linux index b950aa7..0eac9de 100644 --- a/packages/base/util-linux/util-linux +++ b/packages/base/util-linux/util-linux @@ -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" -- 2.20.1