build: introduce luci-base
[project/luci.git] / modules / admin-core / root / etc / init.d / luci_fixtime
diff --git a/modules/admin-core/root/etc/init.d/luci_fixtime b/modules/admin-core/root/etc/init.d/luci_fixtime
deleted file mode 100755 (executable)
index 154a786..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/sh /etc/rc.common
-
-START=05
-STOP=95
-
-start() {
-       cat <<' EOF' | lua -l luci.fs -l luci.util -
-               if (os.time() < 1000000000) then
-                       os.execute('date -s ' .. os.date('%Y%m%d%H%M', luci.fs.mtime("/etc/init.d/luci_fixtime")))
-               end
-       EOF
-}
-
-stop() {
-       [[ -w /etc/init.d/luci_fixtime ]] && cat /dev/null >> /etc/init.d/luci_fixtime && touch /etc/init.d/luci_fixtime
-}