diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2018-01-03 16:35:47 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2018-01-03 16:55:25 +0100 |
commit | 18a0c2f201348def02942d4bb29eda3d4c31c33f (patch) | |
tree | 31c1ed5973e747532ba01061b00fa333677e8bc2 /etc/debian-edu | |
parent | dc5d05c4372c940655fc85b2a81155721e2976ac (diff) | |
download | itzks-systems-18a0c2f201348def02942d4bb29eda3d4c31c33f.tar.gz itzks-systems-18a0c2f201348def02942d4bb29eda3d4c31c33f.tar.bz2 itzks-systems-18a0c2f201348def02942d4bb29eda3d4c31c33f.zip |
White-space cleanup.
Diffstat (limited to 'etc/debian-edu')
-rw-r--r-- | etc/debian-edu/itzks.config | 12 |
1 files changed, 6 insertions, 6 deletions
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 |