Plan 9 from Bell Labs’s /usr/web/sources/contrib/stallion/rc/pxeof

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


#!/bin/rc
# pxeof - print pxe file for system

rfork e

fn usage {
	echo >[2=1] usage: pxeof system
	exit usage
}

if(~ $#* 0)
	usage

ether=`{ndb/query -m sys $1 ether}
if(~ $ether ''){
	echo >[1=2] pxeof: unknown pxe file for $1
	exit noether
}
echo /cfg/pxe/$ether

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].