This commit is contained in:
parent
ce19d6a62c
commit
624ab42f73
26 changed files with 493 additions and 163 deletions
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
set -e
|
||||
|
||||
[ -z "$1" ] && (echo "No arguments supplied!" ; exit 1)
|
||||
[ -z "$1" ] && { echo "No arguments supplied!" ; exit 1; }
|
||||
|
||||
if [ "$(udisksctl info -b "$1" | grep -c 'MountPoints:\s\{8\}.')" -eq 0 ]; then
|
||||
udisksctl mount -b "$1"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue