aboutsummaryrefslogtreecommitdiffstats
path: root/main/dhcp/dhcp.post-upgrade
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-07-31 06:14:49 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-07-31 06:23:23 +0000
commitde25f1da2b2c5f49e7917971b2e324cb0773fa30 (patch)
treeb54e128a26a4c6b8c7e08838fefffbdfdef15d87 /main/dhcp/dhcp.post-upgrade
parent37907999d18ebba37db13bfa7415401922eb6141 (diff)
downloadaports-de25f1da2b2c5f49e7917971b2e324cb0773fa30.tar.bz2
aports-de25f1da2b2c5f49e7917971b2e324cb0773fa30.tar.xz
main/dhcp: fix paths to lease files and configs
also * enable paranoia for -user/-group options * fix install scripts * import new init.d script * add missing dirs * move dhclient to a separate subpackage Fixes #110
Diffstat (limited to 'main/dhcp/dhcp.post-upgrade')
-rw-r--r--main/dhcp/dhcp.post-upgrade3
1 files changed, 2 insertions, 1 deletions
diff --git a/main/dhcp/dhcp.post-upgrade b/main/dhcp/dhcp.post-upgrade
index b16fea6b4a..19df74a47b 100644
--- a/main/dhcp/dhcp.post-upgrade
+++ b/main/dhcp/dhcp.post-upgrade
@@ -5,7 +5,8 @@
moved=
for i in /etc/runlevel/*/dhcp; do
if [ -L "$i" ]; then
- mv ${i} ${i}d
+ rm $i
+ ln -s /etc/init.d/clamsmtpd ${i}d
moved=1
fi
done