From ddf98e9a86294ebb6ebb54f05973c9cf0a2a8f25 Mon Sep 17 00:00:00 2001 From: marschap Date: Sat, 21 Oct 2006 17:40:14 +0000 Subject: [PATCH] indent by 4 --- scripts/debian/lcdproc.LCDd.init | 15 +++++---------- scripts/debian/lcdproc.init | 8 ++++---- scripts/debian/lcdproc.lcdexec.init | 10 +++++----- scripts/debian/lcdproc.lcdvc.init | 10 +++++----- 4 files changed, 19 insertions(+), 24 deletions(-) diff --git a/scripts/debian/lcdproc.LCDd.init b/scripts/debian/lcdproc.LCDd.init index 2d49fad..bd10714 100644 --- a/scripts/debian/lcdproc.LCDd.init +++ b/scripts/debian/lcdproc.LCDd.init @@ -21,7 +21,7 @@ DEFAULTS=/etc/default/$NAME # Source defaults file; edit that file to configure this script. if [ -e "${DEFAULTS}" ]; then - . "${DEFAULTS}" + . "${DEFAULTS}" fi # If we're not to start the daemon, simply exit @@ -29,11 +29,6 @@ if [ "${START}" != "yes" ]; then exit 0 fi -# if no OPTIONS are defined use default options -if [ -z "${OPTIONS}" ]; then - OPTIONS="-c /etc/lcdproc/LCDd.conf" -fi - # installation check test -x $DAEMON || exit 5 @@ -42,22 +37,22 @@ test -x $DAEMON || exit 5 case "$1" in - start) + start) log_daemon_msg "Starting $DESC" "$NAME" start_daemon $DAEMON $OPTIONS log_end_msg $? ;; - stop) + stop) log_daemon_msg "Stopping $DESC" "$NAME" killproc $DAEMON log_end_msg $? ;; - restart|reload|force-reload) + restart|reload|force-reload) $0 stop sleep 1 $0 start ;; - *) + *) echo "Usage: /etc/init.d/$NAME {start|stop|restart|reload|force-reload}" >&2 exit 2 ;; diff --git a/scripts/debian/lcdproc.init b/scripts/debian/lcdproc.init index da724a0..4a788b7 100644 --- a/scripts/debian/lcdproc.init +++ b/scripts/debian/lcdproc.init @@ -21,7 +21,7 @@ DEFAULTS=/etc/default/$NAME # Source defaults file; edit that file to configure this script. if [ -e "${DEFAULTS}" ]; then - . "${DEFAULTS}" + . "${DEFAULTS}" fi # If we're not to start the daemon, simply exit @@ -37,17 +37,17 @@ test -x $DAEMON || exit 5 case "$1" in - start) + start) log_daemon_msg "Starting $DESC" "$NAME" start_daemon $DAEMON $OPTIONS log_end_msg $? ;; - stop) + stop) log_daemon_msg "Stopping $DESC" "$NAME" killproc $DAEMON log_end_msg $? ;; - restart|reload|force-reload) + restart|reload|force-reload) $0 stop sleep 1 $0 start diff --git a/scripts/debian/lcdproc.lcdexec.init b/scripts/debian/lcdproc.lcdexec.init index 665c251..8f254ef 100644 --- a/scripts/debian/lcdproc.lcdexec.init +++ b/scripts/debian/lcdproc.lcdexec.init @@ -21,7 +21,7 @@ DEFAULTS=/etc/default/$NAME # Source defaults file; edit that file to configure this script. if [ -e "${DEFAULTS}" ]; then - . "${DEFAULTS}" + . "${DEFAULTS}" fi # If we're not to start the daemon, simply exit @@ -37,22 +37,22 @@ test -x $DAEMON || exit 5 case "$1" in - start) + start) log_daemon_msg "Starting $DESC" "$NAME" start_daemon $DAEMON $OPTIONS log_end_msg $? ;; - stop) + stop) log_daemon_msg "Stopping $DESC" "$NAME" killproc $DAEMON log_end_msg $? ;; - restart|reload|force-reload) + restart|reload|force-reload) $0 stop sleep 1 $0 start ;; - *) + *) echo "Usage: /etc/init.d/$NAME {start|stop|restart|reload|force-reload}" >&2 exit 2 ;; diff --git a/scripts/debian/lcdproc.lcdvc.init b/scripts/debian/lcdproc.lcdvc.init index a77ae4d..51cd3a4 100644 --- a/scripts/debian/lcdproc.lcdvc.init +++ b/scripts/debian/lcdproc.lcdvc.init @@ -21,7 +21,7 @@ DEFAULTS=/etc/default/$NAME # Source defaults file; edit that file to configure this script. if [ -e "${DEFAULTS}" ]; then - . "${DEFAULTS}" + . "${DEFAULTS}" fi # If we're not to start the daemon, simply exit @@ -37,22 +37,22 @@ test -x $DAEMON || exit 5 case "$1" in - start) + start) log_daemon_msg "Starting $DESC" "$NAME" start_daemon $DAEMON $OPTIONS log_end_msg $? ;; - stop) + stop) log_daemon_msg "Stopping $DESC" "$NAME" killproc $DAEMON log_end_msg $? ;; - restart|reload|force-reload) + restart|reload|force-reload) $0 stop sleep 1 $0 start ;; - *) + *) echo "Usage: /etc/init.d/$NAME {start|stop|restart|reload|force-reload}" >&2 exit 2 ;;