diff options
author | Steven Barth <steven@midlink.org> | 2008-06-01 17:22:11 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-06-01 17:22:11 +0000 |
commit | 8cce07d6953b2557323f2d31037a0f360caa27c5 (patch) | |
tree | 60ac2c051c00c9fd3fa902bc8fee42a4a0711158 /contrib | |
parent | 1544bc0d765c605ab83e1a80429fe186cf620888 (diff) |
Revert "* Added time initialization init.d script to luci-addons"
This reverts commit 5a8742b6a83857fcc8477762717af81a791cac65.
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/package/luci-addons/Makefile | 2 | ||||
-rw-r--r-- | contrib/package/luci-addons/dist/etc/init.d/inittime | 6 |
2 files changed, 0 insertions, 8 deletions
diff --git a/contrib/package/luci-addons/Makefile b/contrib/package/luci-addons/Makefile index cc23e7e9c2..3428eb068d 100644 --- a/contrib/package/luci-addons/Makefile +++ b/contrib/package/luci-addons/Makefile @@ -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 index 70ddb5ca9d..0000000000 --- a/contrib/package/luci-addons/dist/etc/init.d/inittime +++ /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')))" -} |