projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add two words, so i see it is cvs head
[openwrt.git]
/
package
/
base-files
/
default
/
etc
/
functions.sh
diff --git
a/package/base-files/default/etc/functions.sh
b/package/base-files/default/etc/functions.sh
index
60d6231
..
c813e39
100755
(executable)
--- a/
package/base-files/default/etc/functions.sh
+++ b/
package/base-files/default/etc/functions.sh
@@
-1,16
+1,8
@@
#!/bin/ash
#!/bin/ash
+. /etc/nvram.sh
alias debug=${DEBUG:-:}
alias debug=${DEBUG:-:}
-# allow env to override nvram
-nvram () {
- case $1 in
- get) eval "echo \${NVRAM_$2:-\$(command nvram get $2)}";;
- *) command nvram $*;;
- esac
-}
-. /etc/nvram.overrides
-
# valid interface?
if_valid () (
ifconfig "$1" >&- 2>&- ||
# valid interface?
if_valid () (
ifconfig "$1" >&- 2>&- ||
This page took
0.023757 seconds
and
4
git commands to generate.