Browse Source

rename vars

develop
Simon Vieille 2 years ago
parent
commit
c389d6a141
Signed by: deblan GPG Key ID: 03383D15A1D31745
  1. 13
      report

13
report

@ -1,9 +1,5 @@
#!/bin/sh
PATH=/usr/sbin:/usr/bin:/sbin:/bin
export _SCRIPT_NAME="$(realpath "$0")"
export _SCRIPT_PATH="$(dirname "$_SCRIPT_NAME")"
# export EMAIL_RECIPIENT=you@example.com
# export EMAIL_SENDER=system@example.com
@ -13,11 +9,16 @@ export _SCRIPT_PATH="$(dirname "$_SCRIPT_NAME")"
# export MUNIN_DIRECTORY=/var/cache/munin/www/localhost/localhost
# export SMART_DEVICES="/dev/sda /dev/sdb /dev/sdc"
export PATH=/usr/sbin:/usr/bin:/sbin:/bin
export SCRIPT_NAME="$(realpath "$0")"
export SCRIPT_PATH="$(dirname "$SCRIPT_NAME")"
if [ -z "$TEMPLATE" ]; then
export TEMPLATE="$_SCRIPT_PATH/templates/deblan"
export TEMPLATE="$SCRIPT_PATH/templates/deblan"
fi
cd "$_SCRIPT_PATH"
cd "$SCRIPT_PATH"
./hooks/on-start

Loading…
Cancel
Save