ref: eb4bd4aa3ec7308fd4dea9810c7d2de1f5977288
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);
}