diff options
author | Dmitry Kozlov <xeb@mail.ru> | 2011-01-08 15:16:59 +0300 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2011-01-08 15:16:59 +0300 |
commit | e1ffa4862b5e442d5cbb8cfe0a65a8b8f1a12364 (patch) | |
tree | d7ca5dbe09a53c760e5fa4b1b10d85eb0551a4d1 | |
parent | 8e3c4febda2ea707f164fe229b8182a232620909 (diff) | |
download | accel-ppp-e1ffa4862b5e442d5cbb8cfe0a65a8b8f1a12364.tar.gz accel-ppp-e1ffa4862b5e442d5cbb8cfe0a65a8b8f1a12364.zip |
updated contrib files
-rw-r--r-- | cmake/debian/conffiles | 3 | ||||
-rwxr-xr-x | contrib/gentoo/net-dialup/accel-ppp/files/accel-pppd-init | 20 |
2 files changed, 23 insertions, 0 deletions
diff --git a/cmake/debian/conffiles b/cmake/debian/conffiles new file mode 100644 index 0000000..7620e27 --- /dev/null +++ b/cmake/debian/conffiles @@ -0,0 +1,3 @@ +/etc/init.d/accel-ppp +/etc/accel-ppp.conf.dist +/etc/default/accel-ppp diff --git a/contrib/gentoo/net-dialup/accel-ppp/files/accel-pppd-init b/contrib/gentoo/net-dialup/accel-ppp/files/accel-pppd-init new file mode 100755 index 0000000..4ae77d3 --- /dev/null +++ b/contrib/gentoo/net-dialup/accel-ppp/files/accel-pppd-init @@ -0,0 +1,20 @@ +#!/sbin/runscript + +depend() { + need net +} + +start() { + ebegin "Starting accel-pppd" + start-stop-daemon --start --quiet --exec /usr/sbin/accel-pppd -- -p /var/run/accel-pppd.pid ${ACCEL_PPPD_OPTS} + eend $? +} + +stop() { + ebegin "Stopping accel-pppd" + start-stop-daemon --stop --quiet --pidfile /var/run/accel-pppd.pid + result=$? + start-stop-daemon --stop --quiet --oknodo --exec /usr/sbin/accel-pppd + result=$(( $result + $? )) + eend $result +} |