mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-25 02:48:37 +02:00
remove nvram.sh
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5153 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
d38e13b12b
commit
5d33137a97
@ -1,19 +0,0 @@
|
||||
#!/bin/ash
|
||||
# Copyright (C) 2006 OpenWrt.org
|
||||
|
||||
|
||||
# allow env to override nvram
|
||||
nvram () {
|
||||
if [ -x /usr/sbin/nvram ]; then
|
||||
case $1 in
|
||||
get) eval "echo \${$2:-\$(/usr/sbin/nvram get $2)}";;
|
||||
*) /usr/sbin/nvram $*;;
|
||||
esac
|
||||
else
|
||||
case $1 in
|
||||
get) eval "echo \${$2:-\${DEFAULT_$2}}";;
|
||||
*);;
|
||||
esac
|
||||
fi
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user