summaryrefslogtreecommitdiff
path: root/etc/debian-edu/itzks.config
diff options
context:
space:
mode:
Diffstat (limited to 'etc/debian-edu/itzks.config')
-rw-r--r--etc/debian-edu/itzks.config12
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