X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/081f1be6f3d887479e209a0c79ed7ebc00ffa3d3..c40541ffc885a906a8623bba7eba99053757c1ae:/openwrt/package/base-files/default/etc/nvram.sh diff --git a/openwrt/package/base-files/default/etc/nvram.sh b/openwrt/package/base-files/default/etc/nvram.sh index f1170ac47..4d39a1020 100644 --- a/openwrt/package/base-files/default/etc/nvram.sh +++ b/openwrt/package/base-files/default/etc/nvram.sh @@ -4,8 +4,8 @@ nvram () { if [ -x /usr/sbin/nvram ]; then case $1 in - get) eval "echo \${$2:-\$(command nvram get $2)}";; - *) command nvram $*;; + get) eval "echo \${$2:-\$(/usr/sbin/nvram get $2)}";; + *) /usr/sbin/nvram $*;; esac else case $1 in