11 lines
159 B
Plaintext
11 lines
159 B
Plaintext
|
#!/bin/sh
|
||
|
|
||
|
if [ -z "$1" ]; then
|
||
|
nvram --print-config
|
||
|
elif [ -z "$2" ]; then
|
||
|
nvram --print-config="$1"
|
||
|
else
|
||
|
nvram --update-config "$1"="$2"
|
||
|
fi
|
||
|
exit $?
|