Commit 3a730e62 by Czémán Arnold

openbsd: fix mount helper

parent 62c10200
#!/bin/sh
if [ -eq x"$@" x"-o rw none /store" ]; then
op1="-o.rw.none./store"
op2=`echo -n $@ | sed "s/ /./g"`
if [ $op1 = $op2 ]; then
/usr/local/bin/usmb -c /etc/circle/usmb.conf userstore
else:
else
echo "It only works with following fstab line:"
echo "none /store circle-userstore rw 0 0"
fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment