summaryrefslogtreecommitdiffabout
path: root/debian/iii.init
authorMichael Krelin <hacker@klever.net>2012-01-21 13:12:08 (UTC)
committer Michael Krelin <hacker@klever.net>2012-01-21 13:12:08 (UTC)
commit225ebc36b2eadcf04c7e41ff037b62fd16144cc7 (patch) (side-by-side diff)
tree42a1b9348fe75b63bc8fb36b046a9e200d7fce87 /debian/iii.init
parentd39b8f94fece83768d21bb7c28dcf305dc048938 (diff)
downloadiii-225ebc36b2eadcf04c7e41ff037b62fd16144cc7.zip
iii-225ebc36b2eadcf04c7e41ff037b62fd16144cc7.tar.gz
iii-225ebc36b2eadcf04c7e41ff037b62fd16144cc7.tar.bz2
removed debian packaging stuff from the master branch
Yes, I still don't know what the most sane way of maintaining packaging Signed-off-by: Michael Krelin <hacker@klever.net>
Diffstat (limited to 'debian/iii.init') (more/less context) (show whitespace changes)
-rwxr-xr-xdebian/iii.init57
1 files changed, 0 insertions, 57 deletions
diff --git a/debian/iii.init b/debian/iii.init
deleted file mode 100755
index c60c25e..0000000
--- a/debian/iii.init
+++ b/dev/null
@@ -1,57 +0,0 @@
-#!/bin/sh
-### BEGIN INIT INFO
-# Provides: iii
-# Required-Start: $remote_fs $network
-# Required-Stop: $remote_fs $network
-# Default-Start: 2 3 4 5
-# Default-Stop: 0 1 6
-# Short-Description: Start iii eye-fi card manager daemon.
-### END INIT INFO
-
-set -e
-
-PATH=/sbin:/bin:/usr/sbin:/usr/bin
-NAME=iii
-DAEMON=/usr/sbin/${NAME}d
-DESC="Eye-Fi card manager daemon"
-PIDFILE=/var/run/${NAME}d.pid
-SCRIPTNAME=/etc/init.d/$NAME
-USER=eyefi
-SSD="/sbin/start-stop-daemon"
-
-test -x $DAEMON || exit 0
-
-if [ -f /etc/default/$NAME ] ; then
- . /etc/default/$NAME
- fi
-
-test -z "$NO_IIID" || exit 0
-
-. /lib/lsb/init-functions
-
-case "$1" in
- start)
- log_daemon_msg "Starting $DESC" $NAME
- $SSD --start --pidfile $PIDFILE --chuid $USER --background --make-pidfile --exec $DAEMON -- $DAEMON_OPTS
- log_end_msg $?
- ;;
- stop)
- log_daemon_msg "Stopping $DESC" $NAME
- if $SSD --stop --oknodo --retry 30 --pidfile $PIDFILE --exec $DAEMON ; then
- rm -f $PIDFILE
- log_end_msg 0
- else
- log_end_msg 1
- fi
- ;;
- restart|force-reload)
- $SCRIPTNAME stop
- $SCRIPTNAME start
- ;;
- *)
- echo "Usage: $SCRIPTNAME {start|stop}" >&2
- exit 1
- ;;
-esac
-
-exit 0