add robocfg to startup if kernel 2.6, fix jffs2 compression for 2.4
[openwrt.git] / package / base-files / default / etc / functions.sh
index 60d6231..c813e39 100755 (executable)
@@ -1,16 +1,8 @@
 #!/bin/ash
+. /etc/nvram.sh
 
 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>&- ||
This page took 0.022808 seconds and 4 git commands to generate.