Lines Matching +full:rx +full:- +full:eq
4 # SPDX-License-Identifier: BSD-2-Clause
36 [ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1
39 [ -z "`which setfacl`" ] && exit 0
42 mount | grep "$mntpoint" | grep -q md$mdstart && umount $mntpoint
43 mdconfig -l | grep -q md$mdstart && mdconfig -d -u $mdstart
45 mdconfig -a -t swap -s 512m -u $mdstart
47 tunefs -a enable /dev/md$mdstart
49 setfacl -d -m u::rwx,g::rx,o::,u:nobody:r $mntpoint
51 timeout 2s nc -lU $mntpoint/socket
55 mount | grep -q "on $mntpoint " || break
57 [ $i -eq 6 ] &&
58 { echo FAIL; fstat -mf $mntpoint; exit 1; }
61 mdconfig -d -u $mdstart || s=2