Initial bulk upload
This commit is contained in:
parent
7e6e1b6f5c
commit
870c50ec74
8 changed files with 175 additions and 4 deletions
31
initd/bbbsd3
Executable file
31
initd/bbbsd3
Executable file
|
|
@ -0,0 +1,31 @@
|
|||
#! /bin/sh
|
||||
### BEGIN INIT INFO
|
||||
# Provides: bbbsd3
|
||||
# Should-Start: console-screen dbus network-manager
|
||||
# Required-Start: $all
|
||||
# Required-Stop: $remote_fs
|
||||
# Default-Start: 2 3 4 5
|
||||
# Default-Stop: 0 1 6
|
||||
# Short-Description: Start Ingoing connections BBBS Daemon
|
||||
### END INIT INFO
|
||||
#
|
||||
|
||||
set -e
|
||||
|
||||
. /lib/lsb/init-functions
|
||||
|
||||
PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/sbin:/opt/bbbs
|
||||
|
||||
SCRIPT="/opt/bash/bbbsd3.sh"
|
||||
PROGRAMNAME="bbbsd"
|
||||
case "$1" in
|
||||
start)
|
||||
su - root -c"
|
||||
/opt/bash/bbbsd3.sh"
|
||||
;;
|
||||
stop)
|
||||
skill $PROGRAMNAME
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
||||
Loading…
Add table
Add a link
Reference in a new issue