# 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
# 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
# Find the basename of the first parameter (the daemon's name without the
# path).
- base=$(/usr/bin/basename ${1})
+ base=$(basename ${1})
piddir=${2}
# 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
# Find the basename of the first parameter (the daemon's name without the
# path).
- base=$(/usr/bin/basename ${1})
+ base=$(basename ${1})
piddir=${2}