projects
/
php-bacula-disk-changer.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
no real work, just some frame work stuff
[php-bacula-disk-changer.git]
/
bin
/
pbdc-bacula.php
1
<?php
2
$BASE_LIB="../lib";
3
$BASE_BIN="/usr/bin";
4
5
require_once "$BASE_LIB/lib.php";
6
7
if(!isset($argv[5])) {
8
echo "Usage: ".$argv[0]." changer-device command slot archive-device drive-index\n";
9
exit(0);
10
}
11
12
$changer_dev = $argv[1];
13
$command = $argv[2];
14
$slot = $argv[3];
15
$arc_device = $argv[4];
16
$drive_index = $argv[5];
17
18
19
?>