From 8cce07d6953b2557323f2d31037a0f360caa27c5 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Sun, 1 Jun 2008 17:22:11 +0000 Subject: [PATCH] Revert "* Added time initialization init.d script to luci-addons" This reverts commit 5a8742b6a83857fcc8477762717af81a791cac65. --- contrib/package/luci-addons/Makefile | 2 -- contrib/package/luci-addons/dist/etc/init.d/inittime | 6 ------ 2 files changed, 8 deletions(-) delete mode 100644 contrib/package/luci-addons/dist/etc/init.d/inittime diff --git a/contrib/package/luci-addons/Makefile b/contrib/package/luci-addons/Makefile index cc23e7e9c..3428eb068 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 70ddb5ca9..000000000 --- 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')))" -} -- 2.25.1