Remove building with NOCRYPTO option
[minix.git] / etc / newfstab.sh
blobc925fdf4e397bb04531e04a6e456eec388a007da
1 #!/bin/sh
3 set -e
5 if [ $# -ne 1 ]
6 then echo "Usage: $0 <minix-style-fstab> >newfstab"
7 exit 1
8 fi
10 fstab="$1"
11 . $fstab
13 if [ -z "$usr" -o -z "$root" ]
14 then echo "\$root and \$usr not set in $fstab"
15 exit 1
18 echo "$root / mfs rw 0 2"
19 echo "$usr /usr mfs rw 0 1"
20 if [ -n "$home" ]
21 then echo "$home /home mfs rw 0 1"