diff options
author | Nicolas Thill <nico@openwrt.org> | 2005-07-11 21:17:45 +0000 |
---|---|---|
committer | Nicolas Thill <nico@openwrt.org> | 2005-07-11 21:17:45 +0000 |
commit | 686ca00dd876d00110b1a46c1435784d45d32776 (patch) | |
tree | ed44720e0b6b73c612f1bc26fecf553cb3124d3b /package/rp-pppoe/files/pppoe-relay.init | |
parent | 9b97ad219330429d39046b7baf1911035a9d9ef7 (diff) | |
download | master-187ad058-686ca00dd876d00110b1a46c1435784d45d32776.tar.gz master-187ad058-686ca00dd876d00110b1a46c1435784d45d32776.tar.bz2 master-187ad058-686ca00dd876d00110b1a46c1435784d45d32776.zip |
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/pppoe-relay.init')
-rw-r--r-- | package/rp-pppoe/files/pppoe-relay.init | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/package/rp-pppoe/files/pppoe-relay.init b/package/rp-pppoe/files/pppoe-relay.init new file mode 100644 index 0000000000..d8212f2588 --- /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 $? |