summaryrefslogtreecommitdiff
path: root/package/dhcp/files/dhcpd.init
diff options
context:
space:
mode:
Diffstat (limited to 'package/dhcp/files/dhcpd.init')
-rw-r--r--package/dhcp/files/dhcpd.init1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/dhcp/files/dhcpd.init b/package/dhcp/files/dhcpd.init
index 96b9e82c4..09b816eb0 100644
--- a/package/dhcp/files/dhcpd.init
+++ b/package/dhcp/files/dhcpd.init
@@ -6,6 +6,7 @@
case $1 in
autostart)
test x"${dhcpd:-NO}" = x"NO" && exit 0
+ test x"$dhcpd" = x"DAEMON" && test -x /bin/mksh && exec mksh -T- $0 start
exec sh $0 start
;;
start)