fixed the location of the password-change script

This commit is contained in:
fgerlits 2006-12-05 16:26:46 +00:00
parent 01ee4ec06d
commit 76e9f100f4
1 changed files with 2 additions and 1 deletions
campcaster/bin

View File

@ -408,7 +408,8 @@ $install_bin/gst-register
# Generate a random password for the scheduler's access to the storage
#-------------------------------------------------------------------------------
SCHEDULER_STORAGE_PASS=`pwgen -N1 -c -n -s`
php -q $install_var_ls/changeSchedulerPassword.php ${SCHEDULER_STORAGE_PASS}
php -q $install_var_ls/storageServer/var/changeSchedulerPassword.php \
${SCHEDULER_STORAGE_PASS}
sed -i -e "s/ls_scheduler_storage_pass/${SCHEDULER_STORAGE_PASS}/" \
$install_etc/campcaster-scheduler.xml