add config file /etc/config/network, add board-specific network.overrides (instead of nvram.overrides)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1519 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
Felix Fietkau
2005-07-21 14:02:53 +00:00
parent 6b386ef312
commit 2afc4e3e66
18 changed files with 131 additions and 62 deletions

View File

@@ -1,5 +1,7 @@
#!/bin/sh
. /etc/functions.sh
. /etc/nvram.overrides
[ -e /etc/config/network ] && . /etc/config/network
type=$1
[ "$(nvram get ${type}_proto)" = "pptp" ] || exit