12 lines
172 B
Bash
12 lines
172 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
mountpoint=/home/lbrynet
|
||
|
|
||
|
if ! grep -qs ".* $mountpoint " /proc/mounts; then
|
||
|
echo "$mountpoint not mounted, refusing to run."
|
||
|
exit 1
|
||
|
else
|
||
|
`$@`
|
||
|
fi
|
||
|
|