Integrate basic UCI config file validation support Needs more testing and validation is not enforced yet
Code contributed by Fraunhofer Fokus SVN-Revision: 6391
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