etc: clean up trailing whitespace in autofs
Obtained from: DragonFlyBSD (48a93f514f93ff671b7b6c9bbed54d45b3f65180)
This commit is contained in:
parent
5b40b46762
commit
d8134bdf57
@ -41,7 +41,7 @@ print_map_entry() {
|
||||
case "${_fstype}" in
|
||||
"exfat")
|
||||
if [ -f "/usr/local/sbin/mount.exfat" ]; then
|
||||
echo "-mountprog=/usr/local/sbin/mount.exfat,fstype=${_fstype},nosuid :/dev/${_p}"
|
||||
echo "-mountprog=/usr/local/sbin/mount.exfat,fstype=${_fstype},nosuid :/dev/${_p}"
|
||||
else
|
||||
/usr/bin/logger -p info -t "special_media[$$]" \
|
||||
"Cannot mount ${_fstype} formatted device /dev/${_p}: Install sysutils/fusefs-exfat first"
|
||||
@ -50,7 +50,7 @@ print_map_entry() {
|
||||
;;
|
||||
"ntfs")
|
||||
if [ -f "/usr/local/bin/ntfs-3g" ]; then
|
||||
echo "-mountprog=/usr/local/bin/ntfs-3g,fstype=${_fstype},nosuid :/dev/${_p}"
|
||||
echo "-mountprog=/usr/local/bin/ntfs-3g,fstype=${_fstype},nosuid :/dev/${_p}"
|
||||
else
|
||||
/usr/bin/logger -p info -t "special_media[$$]" \
|
||||
"Cannot mount ${_fstype} formatted device /dev/${_p}: Install sysutils/fusefs-ntfs first"
|
||||
@ -58,10 +58,10 @@ print_map_entry() {
|
||||
fi
|
||||
;;
|
||||
"ext2fs" | "msdosfs")
|
||||
echo "-fstype=${_fstype},nosuid,async :/dev/${_p}"
|
||||
echo "-fstype=${_fstype},nosuid,async :/dev/${_p}"
|
||||
;;
|
||||
*)
|
||||
echo "-fstype=${_fstype},nosuid :/dev/${_p}"
|
||||
echo "-fstype=${_fstype},nosuid :/dev/${_p}"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user