Compare commits
3 Commits
71f3ed8947
...
917930c017
Author | SHA1 | Date |
---|---|---|
urosm | 917930c017 | |
urosm | ca87e1ae95 | |
urosm | beb11c9938 |
|
@ -18,9 +18,9 @@ while read -r line; do
|
||||||
[ "$TYPE" = "$LSBLK_PART_TYPE" ] || continue
|
[ "$TYPE" = "$LSBLK_PART_TYPE" ] || continue
|
||||||
|
|
||||||
if [ -n "$MOUNTPOINT" ]; then
|
if [ -n "$MOUNTPOINT" ]; then
|
||||||
option_list=$(printf %s%s\\n "$option_list" "udisksctl unmount -b $NAME")
|
option_list=$(printf %s\\n "udisksctl unmount -b $NAME" "$option_list")
|
||||||
else
|
else
|
||||||
option_list=$(printf %s%s\\n "$option_list" "udisksctl mount -b $NAME")
|
option_list=$(printf %s\\n "udisksctl mount -b $NAME" "$option_list")
|
||||||
fi
|
fi
|
||||||
|
|
||||||
done <<- EOF
|
done <<- EOF
|
||||||
|
|
Loading…
Reference in New Issue