You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
134 B
Bash
8 lines
134 B
Bash
5 years ago
|
#!/bin/sh
|
||
|
|
||
|
if [ -d "$1" ]; then
|
||
|
if grep -qsE "[[:space:]]+$2$" "/proc/filesystems"; then
|
||
|
mount -n -t "$2" -o "$3" "$2" "$1"
|
||
|
fi
|
||
|
fi
|