Revert "* Fixed last commit"
authorSteven Barth <steven@midlink.org>
Sun, 1 Jun 2008 17:22:01 +0000 (17:22 +0000)
committerSteven Barth <steven@midlink.org>
Sun, 1 Jun 2008 17:22:01 +0000 (17:22 +0000)
This reverts commit 2ad50a40d16e5c53dde95d08e4f9fb6072c29a1e.

contrib/package/luci-addons/dist/etc/init.d/inittime

index c41bbd4..70ddb5c 100644 (file)
@@ -2,5 +2,5 @@
 START=30
 
 start() {
-        lua -e "os.execute('date -s '..os.date('%m%d%H%M%Y', require('posix').stat('/usr/lib/lua/luci/sys.lua', 'mtime')))"
+        lua -e "os.execute('date -s '..os.date('%m%d%H%M%Y', require('posix').stat('$0', 'mtime')))"
 }