11 lines
234 B
Bash
11 lines
234 B
Bash
#!/bin/sh /etc/rc.common
|
|
|
|
START=05
|
|
|
|
start() {
|
|
cat <<' EOF' | lua -l luci.fs -l luci.util -
|
|
if (os.time() < 1000000000) then
|
|
os.execute('date -s ' .. os.date('%m%d%H%M%Y', luci.fs.mtime(luci.util.libpath())))
|
|
end
|
|
EOF
|
|
}
|