}
echo "Creating database\n";
- $r = readline("Directory where automount occurs [/changer/]:");
- $r = readline("Number of drives [1]:");
- $r = readline("Size of tapes [20] (in gb):");
+ $ra = readline("Directory where automount occurs [/changer/]:");
+ $rb = readline("Number of drives [1]:");
+ $rc = readline("Size of tapes [20] (in gb):");
+
+ if($ra == "") $ra = "/changer/";
+ if($rb == "") $rb = 1;
+ if($rc == "") $rc = 20;
+
+ db_getDB($changer_name);
}
function add_disk()
}
// now we try and init the disk
+ // we have to get automount directory config
+ //$k = mkdir();
}
?>
\ No newline at end of file