mirror of
https://github.com/pygos/init-scripts.git
synced 2024-11-22 20:29:47 +01:00
021fa43244
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
7 lines
134 B
Bash
7 lines
134 B
Bash
#!/bin/sh
|
|
|
|
if [ -d "$1" ]; then
|
|
if grep -qsE "[[:space:]]+$2$" "/proc/filesystems"; then
|
|
mount -n -t "$2" -o "$3" "$2" "$1"
|
|
fi
|
|
fi
|