9,6 → 9,7 |
# Management of mysql 'radius' database (save / import / RAZ). Close the accounting open sessions |
|
rep_tr="/var/Save/base" # répertoire d'accueil des sauvegardes |
DIR_BIN="/usr/local/bin" |
PASSWD_FILE="/root/ALCASAR-passwords.txt" |
DB_RADIUS="radius" |
DB_USER=$(grep '^db_user=' $PASSWD_FILE | cut -d'=' -f 2-) |
117,6 → 118,10 |
stop_acct |
;; |
esac |
migrationsPath="$DIR_BIN/alcasar-migrations" |
"$migrationsPath/alcasar-migration-3.2.0_dbStructure.sh" |
"$migrationsPath/alcasar-migration-3.3.0_dbRadiusAttrs.sh" |
"$migrationsPath/alcasar-migration-3.3.1_dbRadiusAttrs.sh" |
fi |
;; |
-r | --raz | -raz) |