diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2014-10-19 10:10:04 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2014-10-19 10:10:04 +0900 |
commit | ff3b9cbad7182856bb6fe35e950b40d2848e49e3 (patch) | |
tree | 2627a6db19152c8d87beed8ceb5887a1bf9b73e0 /redhat/tdenetwork/lisa.redhat | |
parent | bb1e02c097fa27c54e1723cf1640fd9abf8c2e80 (diff) | |
parent | b044078982873fc5e30a2bb79b4bcd65e5ae806a (diff) | |
download | tde-packaging-ff3b9cbad7182856bb6fe35e950b40d2848e49e3.tar.gz tde-packaging-ff3b9cbad7182856bb6fe35e950b40d2848e49e3.zip |
Merge branch 'master' of http://scm.trinitydesktop.org/scm/git/tde-packaging
Diffstat (limited to 'redhat/tdenetwork/lisa.redhat')
-rw-r--r-- | redhat/tdenetwork/lisa.redhat | 91 |
1 files changed, 0 insertions, 91 deletions
diff --git a/redhat/tdenetwork/lisa.redhat b/redhat/tdenetwork/lisa.redhat deleted file mode 100644 index bcc059e86..000000000 --- a/redhat/tdenetwork/lisa.redhat +++ /dev/null @@ -1,91 +0,0 @@ -#!/bin/bash -# -# Startup script for LISa -# -# chkconfig: - 92 36 -# description: LISa is a small daemon which is intended to run on \ -# end user systems. It provides something like a \ -# "network neighbourhood", but only relying on the TCP/IP \ -# protocol stack, no smb or whatever.\ -# The information about the hosts in your "neighbourhood" \ -# is provided via TCP port 7741. -# processname: lisa -# config: /etc/lisarc - -# Source function library. -. /etc/rc.d/init.d/functions - -# Source function library. -if [ -f /etc/init.d/functions ] ; then - . /etc/init.d/functions -elif [ -f /etc/rc.d/init.d/functions ] ; then - . /etc/rc.d/init.d/functions -else - exit 0 -fi - -# Some definitions. -lisa=/usr/bin/lisa -prog=LISa -OPTIONS="--quiet --config=/etc/lisarc" -RETVAL=0 - -# -start() { - echo -n $"Starting $prog: " - daemon $lisa $OPTIONS - RETVAL=$? - echo - if [ $RETVAL = 0 ] ; then - touch /var/lock/subsys/lisa - else - RETVAL=1 - fi - return $RETVAL -} - -stop() { - echo -n $"Stopping $prog: " - killproc $lisa - RETVAL=$? - echo - if [ $RETVAL = 0 ] ; then - rm -f /var/lock/subsys/lisa - else - RETVAL=1 - fi - return $RETVAL -} - -reload() { - echo -n $"Reloading $prog: " - killproc $lisa -HUP - RETVAL=$? - echo -} - -# See how we were called. -case "$1" in - start) - start - ;; - stop) - stop - ;; - status) - status $lisa - RETVAL=$? - ;; - restart) - stop - start - ;; - condrestart) - [ -f /var/lock/subsys/lisa ] && restart - ;; - *) - echo $"Usage: $prog {start|stop|restart|status|condrestart}" - exit 1 -esac - -exit $RETVAL |