Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.3
kdenetwork3
init.lisa
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File init.lisa of Package kdenetwork3
#! /bin/sh # Copyright (c) 1995-2001 SuSE GmbH Nuernberg, Germany. # # Author: adrian@suse.de # # /etc/init.d/lisa # and its symbolic link # /usr/sbin/rclisa # ### BEGIN INIT INFO # Provides: lisa # Required-Start: $remote_fs $time $named $syslog # Required-Stop: $remote_fs $time $named $syslog # Default-Start: 3 5 # Default-Stop: # Description: lan browser daemon for KDE ### END INIT INFO test -r /etc/rc.config && \ . /etc/rc.config test -r /etc/sysconfig/windowmanager && \ . /etc/sysconfig/windowmanager . /etc/rc.status # Determine the base and follow a runlevel link name. base=${0##*/} link=${base#*[SK][0-9][0-9]} # Force execution if not called by a runlevel directory. test $link = $base -a "$USE_LAN_SERVER" != "server" && USE_LAN_SERVER=local test "$USE_LAN_SERVER" = "local" -o "$USE_LAN_SERVER" = "server" || exit 0 test -x /usr/sbin/lisa || exit 0 rc_reset case "$1" in start) echo -n "Starting lan browser daemon for KDE" startproc /usr/sbin/lisa -c /etc/lisarc >/dev/null rc_status -v ;; stop) echo -n "Shutting down lan browser daemon for KDE" killproc -TERM /usr/sbin/lisa rc_status -v ;; restart) ## If first returns OK call the second, if first or ## second command fails, set echo return value. $0 stop; sleep 1 && $0 start rc_status ;; reload) killproc -HUP /usr/sbin/lisa rc_status ;; status) echo -n "Checking for lan browser daemon for KDE: " checkproc /usr/sbin/lisa rc_status -v killproc -SIGUSR1 /usr/sbin/lisa sleep 1 ;; *) echo "Usage: $0 {start|stop|status|restart|reload}" exit 1 ;; esac rc_exit
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor