Return to cgdroot.rc CVS log | Up to [cvs.NetBSD.org] / src / distrib / common |
Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. |
version 1.1, 2013/07/15 00:25:38 | version 1.2, 2018/12/29 00:52:11 | ||
---|---|---|---|
|
|
||
umask 022 | umask 022 | ||
mount -o ro /dev/wd0a /etc/cgd | mounted= | ||
if [ $? -ne 0 ]; then | for dev in NAME=cgd.conf ROOT.a ; do | ||
if mount -o ro $dev /etc/cgd 2>/dev/null ; then | |||
mounted=$dev | |||
fi | |||
done | |||
if [ -z "$mounted" ]; then | |||
echo "Could not mount the boot partition" 1>&2 | echo "Could not mount the boot partition" 1>&2 | ||
exit 2 | exit 2 | ||
fi | fi |