On Wed, Mar 24, 2010 at 02:09:41PM +1300, Atom Smasher wrote: > On Tue, 23 Mar 2010, Garrett Cooper wrote: > >> Are you looking for data represented similar to sysctl(8)? > ============ > > it doesn't quite have to be, but it is being parsed in a script.
How about pulling the kenv variables into the script. #!/bin/sh eval $(kenv | awk -F= '/^smbios/ { gsub("\\\.","_",$1); print $1 "=" $2}') echo $smbios_chassis_maker _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"