X-Git-Url: https://hackdaworld.org/gitweb/?a=blobdiff_plain;f=packages%2Fbase%2Futil-linux%2Futil-linux;h=0eac9de6519b5ef842aa2d33b569761aa66fcdd7;hb=59227df4b588c3ceb6c7ec1b8e9624ace067355c;hp=a5cf895dd974aacf874cf40ccf130366f39550ef;hpb=6ae193981fcc05dcc495b4bde92cb8fd290ee4dd;p=hdw-linux%2Fhdw-linux.git diff --git a/packages/base/util-linux/util-linux b/packages/base/util-linux/util-linux index a5cf895..0eac9de 100644 --- a/packages/base/util-linux/util-linux +++ b/packages/base/util-linux/util-linux @@ -2,9 +2,9 @@ # # author: hackbard@hackdaworld.dyndns.org # -# [V] 2.12a +# [V] 2.12q # [S] 1-8 2-15 -# [D] util-linux-2.12a.tar.bz2 ftp://ftp.kernel.org/pub/linux/utils/util-linux/ +# [D] util-linux-2.12q.tar.bz2 ftp://ftp.kernel.org/pub/linux/utils/util-linux/ if [ "$hdw_status" = "1" ]; then pre_install() { @@ -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"