Move moutpoints: usb_share -> cam, cam_archive -> archive

This commit is contained in:
cimryan
2018-10-13 17:26:58 -07:00
parent 641779c1a2
commit 9cfce11bd4
3 changed files with 34 additions and 38 deletions

View File

@@ -20,7 +20,7 @@ function archive_is_reachable () {
true
}
function connect_usb_to_host() {
function connect_usb_drives_to_host() {
log "Connecting usb to host..."
modprobe g_mass_storage
log "Connected usb to host."
@@ -58,7 +58,7 @@ function wait_for_archive_to_be_unreachable () {
done
}
export -f connect_usb_to_host
export -f connect_usb_drives_to_host
log "Starting..."
@@ -68,7 +68,7 @@ then
wait_for_archive_to_be_unreachable
else
connect_usb_to_host
connect_usb_drives_to_host
fi
while [ true ]