mirror of
https://github.com/openwrt/luci.git
synced 2026-04-15 10:51:51 +00:00
luci-0.8: merge r4479
This commit is contained in:
@@ -527,6 +527,9 @@ start() {
|
||||
fi
|
||||
fi
|
||||
|
||||
### disable icmp redirects
|
||||
echo 0 > /proc/sys/net/ipv4/conf/all/send_redirects
|
||||
|
||||
SYSTEM_HOSTNAME=
|
||||
SYSTEM_LAT=
|
||||
SYSTEM_LON=
|
||||
@@ -567,6 +570,9 @@ start() {
|
||||
stop() {
|
||||
### stop olsrd
|
||||
start-stop-daemon -q -p $PID -x $BIN -K
|
||||
|
||||
### re-enable icmp redirects
|
||||
echo 1 > /proc/sys/net/ipv4/conf/all/send_redirects
|
||||
}
|
||||
|
||||
restart() {
|
||||
|
||||
Reference in New Issue
Block a user