X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage2%2Fbootscripts%2Ffunctions;h=48247215e847fafc3e20eb9fd9ff9e153a6597df;hb=b2f91df3e7c1d1ca93ced97b5001e3134243666b;hp=e979adde9e615e553d0f7a08e2c738ebcb7f9761;hpb=16cc35ba4890382ee9368a176e4f5a7fa773b7a6;p=hvlinux.git diff --git a/stage2/bootscripts/functions b/stage2/bootscripts/functions index e979add..4824721 100644 --- a/stage2/bootscripts/functions +++ b/stage2/bootscripts/functions @@ -54,7 +54,7 @@ LOGLEVEL="4" # Timezone export TZ="America/Montreal" -INIT_LOG_PATH="/tmp/log-init" +INIT_LOG_PATH="/var/log/log-init" INIT_LOG_FILE="$INIT_LOG_PATH/init.log" # The print_status prints a coloured "X" letter inside the checkbox to the left @@ -246,7 +246,7 @@ loadproc() # Find the basename of the first parameter (the daemon's name without the # path that was provided so /usr/sbin/syslogd becomes plain 'syslogd' after # basename ran). - base=$(/usr/bin/basename ${1}) + base=$(basename ${1}) # the pidlist variable will contain the output of the pidof command. pidof # will try to find the PID's that belong to a certain string; $base in @@ -309,7 +309,7 @@ killproc_path() # Find the basename of the first parameter (the daemon's name without the # path). - base=$(/usr/bin/basename ${1}) + base=$(basename ${1}) piddir=${2} @@ -408,7 +408,7 @@ reloadproc() # Find the basename of the first parameter (the daemon's name without # the path that was provided so /usr/sbin/syslogd becomes plain 'syslogd' # after basename ran). - base=$(/usr/bin/basename ${1}) + base=$(basename ${1}) # Check if we gave a signal to send to the process (like -HUP) to this # function (the second parameter). If no second parameter was provided set @@ -482,7 +482,7 @@ statusproc_path() # Find the basename of the first parameter (the daemon's name without the # path). - base=$(/usr/bin/basename ${1}) + base=$(basename ${1}) piddir=${2}