summaryrefslogtreecommitdiff
path: root/system/lapsus/rc.lapsus
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@slackbuilds.org>2010-05-13 00:09:22 +0200
committerHeinz Wiesinger <pprkut@slackbuilds.org>2010-05-13 00:09:22 +0200
commitff87e943eb609f4c9d264587b18a6a5cc55690f3 (patch)
tree29757743e59ecafe8b99450277d3cb2211c4bf94 /system/lapsus/rc.lapsus
parent80ff19a2deb4f4b0fda1278e4184ea67292a4217 (diff)
downloadslackbuilds-ff87e943eb609f4c9d264587b18a6a5cc55690f3.tar.gz
system/lapsus: Removed from 13.0 repository
Diffstat (limited to 'system/lapsus/rc.lapsus')
-rw-r--r--system/lapsus/rc.lapsus40
1 files changed, 0 insertions, 40 deletions
diff --git a/system/lapsus/rc.lapsus b/system/lapsus/rc.lapsus
deleted file mode 100644
index a9c0c6ded7..0000000000
--- a/system/lapsus/rc.lapsus
+++ /dev/null
@@ -1,40 +0,0 @@
-#!/bin/sh
-# Start/stop/restart lapsus.
-# $Id: rc.lapsus,v 1.0 2007/11/28
-# Author: Heinz Wiesinger <hmwiesinger@gmx.at>
-# ---------------------------------------------------------------------------
-
-# Start lapsus:
-lapsus_start() {
- if [ -x /usr/sbin/lapsusd ]; then
- echo "Starting lapsus daemon: /usr/sbin/lapsusd "
- /usr/sbin/lapsusd
- fi
-}
-
-# Stop lapsus:
-lapsus_stop() {
- echo "Stopping lapsus daemon"
- killall lapsusd 1> /dev/null 2> /dev/null
-}
-
-# Restart lapsus:
-lapsus_restart() {
- lapsus_stop
- sleep 1
- lapsus_start
-}
-
-case "$1" in
-'start')
- lapsus_start
- ;;
-'stop')
- lapsus_stop
- ;;
-'restart')
- lapsus_restart
- ;;
-*)
- echo "usage $0 start|stop|restart"
-esac