diff options
author | Andreas Baumann <andreas.baumann@eurospider.com> | 2022-05-30 15:14:49 +0200 |
---|---|---|
committer | Andreas Baumann <andreas.baumann@eurospider.com> | 2022-05-30 15:14:49 +0200 |
commit | 0e8774c0b34fa2b8392f20a1a44a63e742bf029f (patch) | |
tree | 8254ded54247b1c4f17eec4d1cb14236f83379f2 | |
parent | 2139a5b47fa074c84411d9b612fd9df6cdf9622c (diff) | |
download | OpenBSD-firewall-0e8774c0b34fa2b8392f20a1a44a63e742bf029f.tar.gz OpenBSD-firewall-0e8774c0b34fa2b8392f20a1a44a63e742bf029f.tar.bz2 |
added note and variable for root device in build.sh script
-rwxr-xr-x | build.sh | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -2,6 +2,9 @@ DEVICE=vnd0 MOUNTPOINT=/mnt/fw +# depends on the hardware sdX for SCSI and wd0 for flashes/IDE/PATA +# (also adapt in template/etc/fstab for instance) +ROOT=sd0 if test X$1 = X"-h"; then print "Usage: build.sh [ <machine> [ <flash layout> ] ]" @@ -117,7 +120,7 @@ chmod +t $MOUNTPOINT/tmp echo "Populating /dev filesystem with minimal set up startup devices." cp -R /dev/MAKEDEV $MOUNTPOINT/dev/. -( cd $MOUNTPOINT/dev && ./MAKEDEV std wd0 random pf bpf ttyC0 tty00 ) +( cd $MOUNTPOINT/dev && ./MAKEDEV std $ROOT random pf bpf ttyC0 tty00 ) echo "Installing userland." |