From 8ca40d1a5672fbe593fc02bc1b2caf037b00aaa2 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Fri, 6 Apr 2007 10:15:30 +0000 Subject: irda-utils: Reformat init script using tabs instead of spaces to save precious embedded space. --- packages/irda-utils/files/init | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) (limited to 'packages') diff --git a/packages/irda-utils/files/init b/packages/irda-utils/files/init index 1944b9d782..a00596fc85 100755 --- a/packages/irda-utils/files/init +++ b/packages/irda-utils/files/init @@ -3,10 +3,10 @@ NAME="irattach" module_id() { - awk 'BEGIN { FS=": " } /Hardware/ { print $2 } ' /dev/null 2>&1 - echo "$NAME." - ;; + echo "$NAME." + ;; stop) - echo -n "Stopping IrDA: " + echo -n "Stopping IrDA: " killall irattach > /dev/null 2>&1 - echo "$NAME." - ;; + echo "$NAME." + ;; restart|force-reload) - echo -n "Restarting IrDA: " + echo -n "Restarting IrDA: " irattach ${DEVICE} ${ARGS} > /dev/null 2>&1 - sleep 1 + sleep 1 killall irattach > /dev/null 2>&1 - echo "$NAME." - ;; + echo "$NAME." + ;; *) - N=/etc/init.d/$NAME - echo "Usage: $N {start|stop|restart|force-reload}" >&2 - exit 1 - ;; + N=/etc/init.d/$NAME + echo "Usage: $N {start|stop|restart|force-reload}" >&2 + exit 1 + ;; esac -- cgit v1.2.3