diff options
Diffstat (limited to 'net-misc/ris-linux/files/binlsrv.initd')
-rw-r--r-- | net-misc/ris-linux/files/binlsrv.initd | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/net-misc/ris-linux/files/binlsrv.initd b/net-misc/ris-linux/files/binlsrv.initd deleted file mode 100644 index f247a39db4ed..000000000000 --- a/net-misc/ris-linux/files/binlsrv.initd +++ /dev/null @@ -1,30 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -depend() { - need net -} - -start() { - ebegin "Starting binlsrv" - if [ -z "$INFILE_PATH" ]; then - eerror "Path to devlist.cache not set, please set \$INFILE_PATH in /etc/conf.d/binlsrv" - return 1 - fi - if [ ! -e "$INFILE_PATH/devlist.cache" ]; then - eerror "devlist.cache not generated, please make it with infparser.py" - fi - - start-stop-daemon --start -i --exec /usr/bin/binlsrv.py --background \ - --make-pidfile --pidfile /var/run/binlsrv.pid --chdir "$INFILE_PATH" \ - --stdout /var/log/binlsrv.log - - eend $? -} - -stop() { - ebegin "Stopping binlsrv" - start-stop-daemon --stop -i --exec /usr/bin/binlsrv.py --pidfile /var/run/binlsrv.pid - eend $? -}
\ No newline at end of file |