summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Kozlov <xeb@mail.ru>2011-01-08 15:16:59 +0300
committerDmitry Kozlov <xeb@mail.ru>2011-01-08 15:16:59 +0300
commite1ffa4862b5e442d5cbb8cfe0a65a8b8f1a12364 (patch)
treed7ca5dbe09a53c760e5fa4b1b10d85eb0551a4d1
parent8e3c4febda2ea707f164fe229b8182a232620909 (diff)
downloadaccel-ppp-e1ffa4862b5e442d5cbb8cfe0a65a8b8f1a12364.tar.gz
accel-ppp-e1ffa4862b5e442d5cbb8cfe0a65a8b8f1a12364.zip
updated contrib files
-rw-r--r--cmake/debian/conffiles3
-rwxr-xr-xcontrib/gentoo/net-dialup/accel-ppp/files/accel-pppd-init20
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
+}