1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

finish tab spacing

This commit is contained in:
Jerry Vonau 2025-02-15 10:45:42 -06:00
parent c8682aa986
commit 06eb5dde45

View file

@ -161,7 +161,7 @@ if [ "$1" = add ]; then
# Mount the filesystem.
log info "executing command: mount -t$fstype ${options:+-o$options} /$DEVNAME $mountpoint"
mount "-t$fstype" "${options:+-o$options}" "$DEVNAME" "$mountpoint"
mount "-t$fstype" "${options:+-o$options}" "/$DEVNAME" "$mountpoint"
# Determine vendor and model.
vendor=
@ -189,7 +189,7 @@ if [ "$1" = add ]; then
model="$(echo "$model" | sed 's/^[[:blank:]]\+//; s/[[:blank:]]\+$//')"
# Run hook scripts; ignore errors.
export UM_DEVICE="$DEVNAME"
export UM_DEVICE="/$DEVNAME"
export UM_MOUNTPOINT="$mountpoint"
export UM_FILESYSTEM="$fstype"
export UM_MOUNTOPTIONS="$options"
@ -199,11 +199,11 @@ if [ "$1" = add ]; then
run-parts /etc/usbmount/mount.d || :
else
# No suitable mount point found.
log warning "no mountpoint found for $DEVNAME"
log warning "no mountpoint found for /$DEVNAME"
exit 1
fi
fi
fi
fi
elif [ "$1" = remove ]; then
# A block or partition device has been removed.