From 18a0c2f201348def02942d4bb29eda3d4c31c33f Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Wed, 3 Jan 2018 16:35:47 +0100 Subject: White-space cleanup. --- etc/debian-edu/itzks.config | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'etc/debian-edu') diff --git a/etc/debian-edu/itzks.config b/etc/debian-edu/itzks.config index 032f609..fc188d8 100644 --- a/etc/debian-edu/itzks.config +++ b/etc/debian-edu/itzks.config @@ -1,6 +1,6 @@ ####################################### # -# resource control +# resource control # of IT-Zukunft Schule server scripts # ####################################### @@ -87,13 +87,13 @@ function script_header () { xterm|linux) exec_type="ITZkS script (direct call)" ;; - dumb) + dumb) exec_type="cronlog-entry (dumb terminal)" ;; - cron) + cron) exec_type="cronlog-entry" ;; - *) + *) exec_type="ITZkS script (unknown exec origin)" ;; esac @@ -142,7 +142,7 @@ function check_root () { if [ ! "`id 2>&1 | egrep 'uid=0' | cut -d '(' -f1`" = "uid=0" ]; then echo "Enter root's password here..." OMMAND="`absolute_scriptpath $0` $@" - su -c "$COMMAND" + su -c "$COMMAND" exit 0 fi @@ -179,7 +179,7 @@ function finish_script () { function absolute_scriptpath () { # this is buggy for "./bin/script.sh" (per) - case $0 in + case $0 in /*) echo "$0" ;; *) echo "`pwd`/$0" ;; esac -- cgit v1.2.3