applications/ffwizard: Massive changes to the ffwizard to make it more generic. Also...
[project/luci.git] / modules / admin-core / ipkg / postinst
index c2f3b5f..a756b5b 100755 (executable)
@@ -1,6 +1,7 @@
 #!/bin/sh
 
-/etc/init.d/luci_fixtime enable
-/etc/init.d/luci_ethers enable
-/etc/init.d/luci_hosts enable
-
+[ -n "${IPKG_INSTROOT}" ] || {
+       /etc/init.d/luci_fixtime enabled || /etc/init.d/luci_fixtime enable
+       /etc/init.d/luci_dhcp_migrate enabled || /etc/init.d/luci_dhcp_migrate enable
+       exit 0
+}