diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-04-04 22:12:17 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-04-04 22:12:17 +0000 |
commit | 7d655dbc5e81496e100c73d774938b0374b28949 (patch) | |
tree | 8d14cbb0c2a39741d0a4e01461bf26c53275c0cf /openwrt/package/radvd/files/S51radvd | |
parent | 9756d8713b70f61e91224a7bca93332c64df227a (diff) |
add aiccu, bwm, ntpclient and radvd (from Sebastian Noel)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@562 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/radvd/files/S51radvd')
-rwxr-xr-x | openwrt/package/radvd/files/S51radvd | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/openwrt/package/radvd/files/S51radvd b/openwrt/package/radvd/files/S51radvd new file mode 100755 index 000000000..88565db48 --- /dev/null +++ b/openwrt/package/radvd/files/S51radvd @@ -0,0 +1,22 @@ +#!/bin/sh + +case "$1" in + start) + echo 1 > /proc/sys/net/ipv6/conf/all/forwarding + /usr/sbin/radvd + ;; + + stop) + killall radvd + echo 0 > /proc/sys/net/ipv6/conf/all/forwarding + ;; + + restart) + $0 stop + $0 start + ;; + *) + echo "Usage: $0 {start|stop|restart}" + exit 1 + ;; +esac |