home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2007 January, February, March & April
/
Chip-Cover-CD-2007-02.iso
/
boot
/
i386
/
root
/
etc
/
init.d
/
suse-blinux
< prev
Wrap
Text File
|
2006-11-29
|
868b
|
43 lines
#! /bin/sh
# /etc/init.d/suse-blinux
# copyright (c) 2000, 2003 SuSE Linux AG, Nuernberg
# Author: Marco Skambraks <marco@suse.de>
### BEGIN INIT INFO
# Provides: suse-blinux
# Required-Start: $remote_fs
# Required-Stop: $remote_fs
# Default-Start: 2 3 5
# Default-Stop: 0 1 6
# Description: Start suse-blinux
### END INIT INFO
. /etc/rc.status
. /etc/suse-blinux.conf
return=$rc_done
case "$1" in
start)
echo "Starting suse-blinux"
startproc $progpath/sbl
rc_status -v
;;
stop)
echo -n "Shutting down suse-blinux"
killproc -TERM $progpath/sbl
rc_status -v
;;
restart)
$0 stop && $0 start || return=$rc_failed
;;
status)
echo -n "Checking for suse-blinux: "
checkproc $progpath/sbl
rc_status -v
;;
*)
echo "Usage: $0 {start|stop|status|restart}"
exit 1
esac
rc_exit