summaryrefslogtreecommitdiff
path: root/package/base-files/default/etc/nvram.sh
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-11-19 03:17:20 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-11-19 03:17:20 +0000
commit2af90479fbd25ca63d9697200d43ea614d657184 (patch)
tree2baf8be2ba174420052f42d69c4fb042038093b8 /package/base-files/default/etc/nvram.sh
parent9a0bc232a345ace4089dede61357c5bae9039cf8 (diff)
hotplug-based network script rewrite
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2531 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files/default/etc/nvram.sh')
-rw-r--r--package/base-files/default/etc/nvram.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/base-files/default/etc/nvram.sh b/package/base-files/default/etc/nvram.sh
index f1170ac470..4d39a10204 100644
--- a/package/base-files/default/etc/nvram.sh
+++ b/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