* service{Start,Stop,Restart} <name from /etc/init.d/>
* wrapper arround pgrep
- * function to set C environment (lang)
- * debug over function (setdebug), von außen DEBUG=x 1:1 übersetzung nach verbose
- * paket umbenennen nach grml-shlib
* execute (secureInput verbessern) @mika
* getUserName <id> (is this user available on this system)
* update relToAbs (readlink -f)
function restoreVerbose { VERBOSE__=$VERBOSE_TMP__; }
function getVerbose { echo "$VERBOSE__"; }
+function setDebug { setVerbose "$DPRINT__"; }
+function unsetDebug { restoreVerbose; }
+
function setExitFunction { EXIT_FUNCTION__="$1"; }
function resetExitFunction { EXIT_FUNCTION__="_syslog"; }
# }}}
return 1
}
_checkBootParam
+
+
+function _setDebugLevel
+{
+ local debug_="${DEBUG:-0}"
+ VERBOSE__="$debug_"
+}
+_checkBootParam
# }}}
# END OF FILE