Revert "* Added time initialization init.d script to luci-addons"
authorSteven Barth <steven@midlink.org>
Sun, 1 Jun 2008 17:22:11 +0000 (17:22 +0000)
committerSteven Barth <steven@midlink.org>
Sun, 1 Jun 2008 17:22:11 +0000 (17:22 +0000)
This reverts commit 5a8742b6a83857fcc8477762717af81a791cac65.

contrib/package/luci-addons/Makefile
contrib/package/luci-addons/dist/etc/init.d/inittime [deleted file]

index cc23e7e9c25d00a2fa21efd6a1a244444edef300..3428eb068dac53f92694c70d47059130fc78d54b 100644 (file)
@@ -25,12 +25,10 @@ define Package/luci-addons/install
        $(INSTALL_DIR) $(1)/usr/bin
        $(INSTALL_DIR) $(1)/sbin
        $(INSTALL_DIR) $(1)/etc/crontabs
-       $(INSTALL_DIR) $(1)/etc/init.d
        $(INSTALL_DIR) $(1)/etc/hotplug.d/iface
 
        $(INSTALL_BIN) ./dist/usr/bin/run-parts $(1)/usr/bin
        $(INSTALL_BIN) ./dist/sbin/luci-flash $(1)/sbin
-       $(INSTALL_BIN) ./dist/etc/init.d/inittime $(1)/etc/init.d
        
        $(CP) ./dist/etc/crontabs/root $(1)/etc/crontabs/root
        $(CP) ./dist/etc/hotplug.d/iface/20-aliases $(1)/etc/hotplug.d/iface/20-aliases
diff --git a/contrib/package/luci-addons/dist/etc/init.d/inittime b/contrib/package/luci-addons/dist/etc/init.d/inittime
deleted file mode 100644 (file)
index 70ddb5c..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/sh /etc/rc.common
-START=30
-
-start() {
-        lua -e "os.execute('date -s '..os.date('%m%d%H%M%Y', require('posix').stat('$0', 'mtime')))"
-}