X-Git-Url: https://git.tld-linux.org/?a=blobdiff_plain;f=lib%2Ffunctions;h=69041da25b6dac6cb40f697b10dd28484052ae18;hb=003ec37db641afcc22cd662bbc7969af80ec83a0;hp=04e7f29332e7ee316b75de17381e6c655fb4fea5;hpb=7faeb422dd97d29b4e8a90a654af11846f8d4fcf;p=rc-scripts.git diff --git a/lib/functions b/lib/functions index 04e7f29..69041da 100644 --- a/lib/functions +++ b/lib/functions @@ -5,11 +5,13 @@ # # Author: Miquel van Smoorenburg, # Hacked by: Greg Galloway and Marc Ewing -# Modified for TLD Linux by: +# Modified for PLD Linux by: # Marek Obuchowicz # Arkadiusz Miśkiewicz # Michał Kochanowicz # Łukasz Pawelczyk +# Modified for TLD Linux by: +# Marcin Krol # First set up a default search path. export PATH="/sbin:/usr/sbin:/bin:/usr/bin" @@ -577,7 +579,7 @@ run_cmd() { cd / export HOME=/tmp TMPDIR=/tmp if is_no "$RC_LOGGING"; then - ${user:+setuidgid -s $user} "$@" 2>&1 + ${user:+setuidgid -s $user} eval "$@" 2>&1 else ${user:+setuidgid -s $user} initlog -c "$*" 2>&1 fi @@ -1321,35 +1323,6 @@ rc_gettext_init() { fi } -use_upstart () { - return 1 -} -emit () { - return 0 -} -is_upstart_task() { - return 1 -} -is_upstart_running() { - return 1 -} -upstart_start() { - return 1 -} -upstart_stop() { - return 1 -} -upstart_reload() { - return 0 -} -upstart_status() { - return 1 -} -_upstart_controlled() { - return 0 -} -alias upstart_controlled='_upstart_controlled $0 "$@"' - rc_gettext_init rc_cache_init