ref: 491fe2515890fc4e624af72f15775fd48510486a dir: /sys/src/cmd/auth/wrkey.c/
#include <u.h> #include <libc.h> #include <authsrv.h> void main(void) { Nvrsafe safe; if(readnvram(&safe, NVwrite) < 0) sysfatal("error writing nvram: %r"); exits(0); }