sshfser.sh aktualisiert
This commit is contained in:
11
sshfser.sh
11
sshfser.sh
@ -22,10 +22,19 @@ case $MOUNTET in
|
|||||||
log_info "ERR: $?"
|
log_info "ERR: $?"
|
||||||
;;
|
;;
|
||||||
0)
|
0)
|
||||||
log_info "Verzeichnis ist belegt! Unmount..."
|
log_info "Verzeichnis ist belegt!"
|
||||||
|
WAHL=$(gum choose ja nein)
|
||||||
|
case $WAHL in
|
||||||
|
ja)
|
||||||
|
log_info "Wird gelöst…"
|
||||||
umount $MOUNTPUNKT
|
umount $MOUNTPUNKT
|
||||||
log_info "ERR: $?"
|
log_info "ERR: $?"
|
||||||
;;
|
;;
|
||||||
|
nein)
|
||||||
|
log_info "Alles bleibt, wie es ist!"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
;;
|
||||||
|
|
||||||
*)
|
*)
|
||||||
log_error "Ungewöhnlicher Rückgabewert: $MOUNTET"
|
log_error "Ungewöhnlicher Rückgabewert: $MOUNTET"
|
||||||
|
|||||||
Reference in New Issue
Block a user