diff options
author | nico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-07-11 21:17:45 +0000 |
---|---|---|
committer | nico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-07-11 21:17:45 +0000 |
commit | bbda9e1ac06fc3173bd6572c81c1a2480068fd7f (patch) | |
tree | ed44720e0b6b73c612f1bc26fecf553cb3124d3b /package/rp-pppoe/files | |
parent | d1a6070a58757d19d100a7def47a24d48745d1d3 (diff) |
Add rp-pppoe package
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1413 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/rp-pppoe/files')
-rw-r--r-- | package/rp-pppoe/files/pppoe-client.init | 12 | ||||
-rw-r--r-- | package/rp-pppoe/files/pppoe-relay.default | 1 | ||||
-rw-r--r-- | package/rp-pppoe/files/pppoe-relay.init | 15 | ||||
-rw-r--r-- | package/rp-pppoe/files/pppoe-server.default | 1 | ||||
-rw-r--r-- | package/rp-pppoe/files/pppoe-server.init | 15 |
5 files changed, 44 insertions, 0 deletions
diff --git a/package/rp-pppoe/files/pppoe-client.init b/package/rp-pppoe/files/pppoe-client.init new file mode 100644 index 000000000..fb3f4ca3e --- /dev/null +++ b/package/rp-pppoe/files/pppoe-client.init @@ -0,0 +1,12 @@ +#!/bin/sh + +case "$1" in + start|stop) + adsl-$1 + ;; + *) + echo "usage: $0 {start|stop}" + exit 1 +esac + +exit $? diff --git a/package/rp-pppoe/files/pppoe-relay.default b/package/rp-pppoe/files/pppoe-relay.default new file mode 100644 index 000000000..47a3892c4 --- /dev/null +++ b/package/rp-pppoe/files/pppoe-relay.default @@ -0,0 +1 @@ +OPTIONS="-C eth2 -S vlan1" diff --git a/package/rp-pppoe/files/pppoe-relay.init b/package/rp-pppoe/files/pppoe-relay.init new file mode 100644 index 000000000..d8212f258 --- /dev/null +++ b/package/rp-pppoe/files/pppoe-relay.init @@ -0,0 +1,15 @@ +#!/bin/sh + +DEFAULT=/etc/default/pppoe-relay +[ -f $DEFAULT ] && . $DEFAULT + +case $1 in + start) + pppoe-relay $OPTIONS + ;; + *) + echo "usage: $0 (start)" + exit 1 +esac + +exit $? diff --git a/package/rp-pppoe/files/pppoe-server.default b/package/rp-pppoe/files/pppoe-server.default new file mode 100644 index 000000000..72a8c0199 --- /dev/null +++ b/package/rp-pppoe/files/pppoe-server.default @@ -0,0 +1 @@ +OPTIONS="-C MyRouter -I eth2" diff --git a/package/rp-pppoe/files/pppoe-server.init b/package/rp-pppoe/files/pppoe-server.init new file mode 100644 index 000000000..2768895de --- /dev/null +++ b/package/rp-pppoe/files/pppoe-server.init @@ -0,0 +1,15 @@ +#!/bin/sh + +DEFAULT=/etc/default/pppoe-server +[ -f $DEFAULT ] && . $DEFAULT + +case $1 in + start) + pppoe-server $OPTIONS + ;; + *) + echo "usage: $0 (start)" + exit 1 +esac + +exit $? |