mirror of
https://github.com/pygos/init.git
synced 2024-11-22 19:19:47 +01:00
8 lines
144 B
Bash
8 lines
144 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
if [ -d "$1" ]; then
|
||
|
if @BINPATH@/grep -qsE "[[:space:]]+$2$" "/proc/filesystems"; then
|
||
|
mount -n -t "$2" -o "$3" "$2" "$1"
|
||
|
fi
|
||
|
fi
|