1 #!/bin/sh /etc/rc.common
7 cat <<' EOF' | lua -l luci.fs -l luci.util -
8 if (os.time() < 1000000000) then
9 os.execute('date -s ' .. os.date('%Y%m%d%H%M', luci.fs.mtime("/etc/init.d/luci_fixtime")))
15 [[ -w /etc/init.d/luci_fixtime ]] && cat /dev/null >> /etc/init.d/luci_fixtime && touch /etc/init.d/luci_fixtime