2f976de
#!/bin/sh
2f976de
e453296
if [ "$1" = "--version" ]; then
e453296
   echo This version of nvsetenv is just a wrapper to invoke nvram
e453296
   exit 0
e453296
fi
2f976de
if [ -z "$1" ]; then
2f976de
   nvram --print-config
2f976de
elif [ -z "$2" ]; then
2f976de
   nvram --print-config="$1"
2f976de
else
2f976de
   nvram --update-config "$1"="$2"
2f976de
fi
2f976de
exit $?