wrote a quick install script, and made a global config file for where to find files...
[php-bacula-disk-changer.git] / bin / pbdc-bacula
index 51a14b4..f26a430 100644 (file)
@@ -1,5 +1,5 @@
 #!/bin/sh
 
-BASE_DIR="/home/paulr/src/eclipse-workspace/php-bacula-disk-changer/bin/"
+. /etc/pbdc.conf
 
-php $BASE_DIR/pbdc-bacula.php $*
\ No newline at end of file
+php $BASE_DIR/bin/pbdc-bacula.php $*
\ No newline at end of file