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 b3e6c20..f26a430 100644 (file)
@@ -1,3 +1,5 @@
 #!/bin/sh
 
-php pbdc-bacula.php $*
\ No newline at end of file
+. /etc/pbdc.conf
+
+php $BASE_DIR/bin/pbdc-bacula.php $*
\ No newline at end of file