Blame SOURCES/nvsetenv

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