summaryrefslogtreecommitdiffstats
path: root/openwrt/package/base-files/default/etc/nvram.sh
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/package/base-files/default/etc/nvram.sh')
-rw-r--r--openwrt/package/base-files/default/etc/nvram.sh4
1 files changed, 2 insertions, 2 deletions
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