projects
/
osspd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
ca40ad1
)
don't be so silent
author
Ralf Jung
<post@ralfj.de>
Sat, 15 Sep 2012 11:08:42 +0000
(13:08 +0200)
committer
Ralf Jung
<post@ralfj.de>
Sat, 15 Sep 2012 11:08:42 +0000
(13:08 +0200)
debian/osspd.init
patch
|
blob
|
history
diff --git
a/debian/osspd.init
b/debian/osspd.init
index 4b60b8e8004c38b0583e15f2e2620809c19e5757..7981c48c77ccd89463201a7ede09ac7825e7d8fc 100644
(file)
--- a/
debian/osspd.init
+++ b/
debian/osspd.init
@@
-23,12
+23,6
@@
SCRIPTNAME=/etc/init.d/$NAME
# Exit if the package is not installed
[ -x "$DAEMON" ] || exit 0
# Exit if the package is not installed
[ -x "$DAEMON" ] || exit 0
-# Read configuration variable file if it is present
-[ -r /etc/default/$NAME ] && . /etc/default/$NAME
-
-# Load the VERBOSE setting and other rcS variables
-. /lib/init/vars.sh
-
# Define LSB log_* functions.
# Depend on lsb-base (>= 3.2-14) to ensure that this file is present
# and status_of_proc is working.
# Define LSB log_* functions.
# Depend on lsb-base (>= 3.2-14) to ensure that this file is present
# and status_of_proc is working.
@@
-66,19
+60,19
@@
do_stop()
case "$1" in
start)
case "$1" in
start)
-
[ "$VERBOSE" != no ] &&
log_daemon_msg "Starting $DESC" "$NAME"
+ log_daemon_msg "Starting $DESC" "$NAME"
do_start
case "$?" in
do_start
case "$?" in
- 0|1)
[ "$VERBOSE" != no ] &&
log_end_msg 0 ;;
- 2)
[ "$VERBOSE" != no ] &&
log_end_msg 1 ;;
+ 0|1) log_end_msg 0 ;;
+ 2) log_end_msg 1 ;;
esac
;;
stop)
esac
;;
stop)
-
[ "$VERBOSE" != no ] &&
log_daemon_msg "Stopping $DESC" "$NAME"
+ log_daemon_msg "Stopping $DESC" "$NAME"
do_stop
case "$?" in
do_stop
case "$?" in
- 0|1)
[ "$VERBOSE" != no ] &&
log_end_msg 0 ;;
- 2)
[ "$VERBOSE" != no ] &&
log_end_msg 1 ;;
+ 0|1) log_end_msg 0 ;;
+ 2) log_end_msg 1 ;;
esac
;;
status)
esac
;;
status)