projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[package] broadcom-wl: check iface pid file when invoking nas, fixes starting nas...
[openwrt.git]
/
package
/
pptp
/
files
/
pptp.sh
diff --git
a/package/pptp/files/pptp.sh
b/package/pptp/files/pptp.sh
index
5151f72
..
b5a5c06
100644
(file)
--- a/
package/pptp/files/pptp.sh
+++ b/
package/pptp/files/pptp.sh
@@
-26,7
+26,7
@@
setup_interface_pptp() {
setup_interface "$device" "$config" "${ipproto:-dhcp}"
local gw="$(find_gw)"
[ -n "$gw" ] && {
- route delete "$server" 2>/dev/null >/dev/null
+
[ "$gw" != 0.0.0.0 ] &&
route delete "$server" 2>/dev/null >/dev/null
route add "$server" gw "$gw"
}
This page took
0.022182 seconds
and
4
git commands to generate.