wrote a quick install script, and made a global config file for where to find files...
[php-bacula-disk-changer.git] / bin / pbdc
index 8724026..9e42b07 100644 (file)
--- a/bin/pbdc
+++ b/bin/pbdc
@@ -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.php $*
\ No newline at end of file
+php $BASE_DIR/bin/pbdc.php $*
\ No newline at end of file