luci-0.8: merge r4514
This commit is contained in:
parent
0c978dc697
commit
d27ff9d2d9
1 changed files with 3 additions and 2 deletions
|
@ -78,8 +78,9 @@ start() {
|
||||||
iptables -t nat -A luci_splash_leases -j DROP
|
iptables -t nat -A luci_splash_leases -j DROP
|
||||||
|
|
||||||
### Add crontab entry
|
### Add crontab entry
|
||||||
grep luci-splash /var/spool/cron/crontabs/root >/dev/null 2>&1 || {
|
test -f /etc/crontabs/root || touch /etc/crontabs/root
|
||||||
echo '*/5 * * * * /usr/sbin/luci-splash sync' >> /var/spool/cron/crontabs/root
|
grep -q luci-splash /etc/crontabs/root || {
|
||||||
|
echo '*/5 * * * * /usr/sbin/luci-splash sync' >> /etc/crontabs/root
|
||||||
}
|
}
|
||||||
|
|
||||||
### Start the splash httpd
|
### Start the splash httpd
|
||||||
|
|
Loading…
Reference in a new issue