mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
Integrate basic UCI config file validation support
Needs more testing and validation is not enforced yet Code contributed by Fraunhofer Fokus git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6391 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
7
package/base-files/files/lib/config/specs/network.spec
Normal file
7
package/base-files/files/lib/config/specs/network.spec
Normal file
@@ -0,0 +1,7 @@
|
||||
interface[] {
|
||||
proto: string, required;
|
||||
ipaddr: ip, required[proto=static];
|
||||
netmask: ip, required[proto=static];
|
||||
gateway: ip;
|
||||
dns: ip;
|
||||
}
|
||||
Reference in New Issue
Block a user