modules/admin: Make sure luci_fixtime works on mini_fo (#262)
[project/luci.git] / modules / admin-core / root / etc / init.d / luci_fixtime
index e03d60e..154a786 100755 (executable)
@@ -12,5 +12,5 @@ start() {
 }
 
 stop() {
-       [[ -w /etc/init.d/luci_fixtime ]] && touch /etc/init.d/luci_fixtime
+       [[ -w /etc/init.d/luci_fixtime ]] && cat /dev/null >> /etc/init.d/luci_fixtime && touch /etc/init.d/luci_fixtime
 }