13 lines
174 B
Bash
Executable File
13 lines
174 B
Bash
Executable File
#!/bin/sh
|
|
|
|
log(){
|
|
printf '\033[31;1m%s\n' "$1"
|
|
}
|
|
|
|
mnt(){
|
|
mountpoint -q "$1" || {
|
|
[ -d "$1" ] || mkdir -p "$1"
|
|
mount -t "$2" "$3" "$1" -o "$4"
|
|
}
|
|
}
|