diff options
author | Nicolás Reynolds <fauno@parabola.nu> | 2013-01-26 18:05:23 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@parabola.nu> | 2013-01-26 18:05:23 -0300 |
commit | f551d84e6f43a389e5dca2209d7320eac43431b1 (patch) | |
tree | 8a9a71043ed531b206127d90b3ac8e6e3c78a189 /libre/linux-libre-tools/usbipd.rc | |
parent | aaa73650c5dda347d76d221d74a9454c6295ed08 (diff) | |
parent | 072fcf33f41cce6ec27949da2a5f3d841a6d8cc8 (diff) | |
download | abslibre-f551d84e6f43a389e5dca2209d7320eac43431b1.tar.gz abslibre-f551d84e6f43a389e5dca2209d7320eac43431b1.tar.bz2 abslibre-f551d84e6f43a389e5dca2209d7320eac43431b1.zip |
Merge branch 'master' of ssh://gparabola/srv/git/abslibre
Diffstat (limited to 'libre/linux-libre-tools/usbipd.rc')
-rw-r--r-- | libre/linux-libre-tools/usbipd.rc | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/libre/linux-libre-tools/usbipd.rc b/libre/linux-libre-tools/usbipd.rc deleted file mode 100644 index 15a1bcf00..000000000 --- a/libre/linux-libre-tools/usbipd.rc +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/bash - -. /etc/rc.conf -. /etc/rc.d/functions -. /etc/conf.d/${0##*/} - -DAEMON=/usr/sbin/usbipd -PID=$(pidof -o %PPID $DAEMON) -DAEMON_OPTS="--daemon $DAEMON_OPTS" - -case "$1" in - start) - stat_busy "Starting ${0##*/} daemon" - [[ ! $PID ]] && $DAEMON $DAEMON_OPTS && add_daemon ${0##*/} && stat_done && exit 0 - stat_fail - ;; - stop) - stat_busy "Stopping ${0##*/} daemon" - [[ $PID ]] && kill $PID &> /dev/null && rm_daemon ${0##*/} && stat_done && exit 0 - stat_fail - ;; - restart) - $0 stop - $0 start - exit 0 - ;; - *) - echo "usage: ${0##*/} {start|stop|restart}" >&2 - ;; -esac - -exit 1 - -# vim:set ts=2 sw=2 ft=sh et: |