source: freewrt/package/radvd/files/radvd.init@ 475ad56

freewrt_1_0 freewrt_2_0
Last change on this file since 475ad56 was 475ad56, checked in by Waldemar Brodkorb <wbx@…>, 20 years ago

add OpenWrt trunk revision 3830.

git-svn-id: svn://www.freewrt.org/trunk/freewrt@1 afb5a338-a214-0410-bd46-81f09a774fd1

  • Property mode set to 100644
File size: 322 bytes
Line 
1#!/bin/sh
2
3case "$1" in
4 start)
5 echo 1 > /proc/sys/net/ipv6/conf/all/forwarding
6 mkdir -p /var/log
7 mkdir -p /var/run
8 /usr/sbin/radvd
9 ;;
10
11 stop)
12 killall radvd
13 echo 0 > /proc/sys/net/ipv6/conf/all/forwarding
14 ;;
15
16 restart)
17 $0 stop
18 $0 start
19 ;;
20 *)
21 echo "Usage: $0 {start|stop|restart}"
22 exit 1
23 ;;
24esac
Note: See TracBrowser for help on using the repository browser.