summaryrefslogtreecommitdiffstats
path: root/main/dhcp/dhcp.post-upgrade
diff options
context:
space:
mode:
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 b16fea6b4..19df74a47 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