projects
/
openwrt
/
svn-archive
/
packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e3437a
)
Force enabling ipv6 forwarding (#3959)
author
Florian Fainelli
<florian@openwrt.org>
Sun, 28 Sep 2008 15:48:31 +0000
(15:48 +0000)
committer
Florian Fainelli
<florian@openwrt.org>
Sun, 28 Sep 2008 15:48:31 +0000
(15:48 +0000)
SVN-Revision: 12764
ipv6/radvd/files/radvd.init
patch
|
blob
|
history
diff --git
a/ipv6/radvd/files/radvd.init
b/ipv6/radvd/files/radvd.init
index ff867bf2b2c458997c73716753cf8fe81187d8ef..65a3f8d4ffdb4c3e57da6f466490c226fa5aeb62 100644
(file)
--- a/
ipv6/radvd/files/radvd.init
+++ b/
ipv6/radvd/files/radvd.init
@@
-371,9
+371,7
@@
start() {
[ -z "$RADVD_CONFIG_FILE" ] && return 1
- if grep '^net.ipv6.conf.all.forwarding=1$' /etc/sysctl.conf > /dev/null 2> /dev/null; then
- sysctl -w net.ipv6.conf.all.forwarding=1 > /dev/null 2> /dev/null
- fi
+ sysctl -w net.ipv6.conf.all.forwarding=1 > /dev/null 2> /dev/null
radvd -C "$RADVD_CONFIG_FILE" -m stderr_syslog -p /var/run/radvd.pid
}