luci-0.8: Merge r4458
This commit is contained in:
parent
239801927d
commit
a7a532d8cc
2 changed files with 9 additions and 6 deletions
|
@ -55,27 +55,26 @@ config defaults wifi_device
|
|||
option disabled 0
|
||||
option txpower 10
|
||||
|
||||
|
||||
config defaults wifi_iface
|
||||
option mode adhoc
|
||||
option bssid 02:CA:FF:EE:BA:BE
|
||||
option sw_merge 1
|
||||
|
||||
|
||||
config defaults interface
|
||||
option netmask 255.0.0.0
|
||||
option dns "88.198.178.18 141.54.1.1 212.204.49.83 208.67.220.220 208.67.222.222"
|
||||
|
||||
|
||||
config defaults alias
|
||||
option netmask 255.255.255.0
|
||||
|
||||
|
||||
config defaults dhcp
|
||||
option leasetime 30m
|
||||
|
||||
|
||||
config defaults olsr_interface
|
||||
option Ip4Broadcast 255.255.255.255
|
||||
|
||||
config defaults time
|
||||
option rdate_servers "128.138.140.44 171.64.7.77 171.64.7.99 81.169.154.44 130.133.1.10"
|
||||
|
||||
|
||||
config community leipzig
|
||||
|
|
|
@ -17,6 +17,10 @@ boot() {
|
|||
echo "*/5 * * * * /usr/sbin/ff_olsr_watchdog" >> /etc/crontabs/root
|
||||
}
|
||||
|
||||
grep -q '/usr/sbin/ff_rdate' /etc/crontabs/root || {
|
||||
echo "0 */4 * * * /usr/sbin/ff_rdate >> /etc/crontabs/root
|
||||
}
|
||||
|
||||
[ -f /etc/rc.local ] && . /etc/rc.local
|
||||
[ -d /etc/rc.local.d ] && {
|
||||
for file in /etc/rc.local.d/*; do
|
||||
|
@ -24,5 +28,5 @@ boot() {
|
|||
done
|
||||
}
|
||||
|
||||
/etc/init.d/cron restart
|
||||
( /usr/sbin/ff_rdate; /etc/init.d/cron restart ) &
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue