diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-02-26 20:04:04 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-02-26 20:04:04 +0000 |
commit | 9405a2a6be701ee92ad0ffbe15d069bdae2cf850 (patch) | |
tree | cf424b438b74334f93b8474935787dc07aca5839 /package/base-files/files/lib/config/specs | |
parent | c6a4f047e30eb534dfbf7598d5998404ade53c67 (diff) | |
download | mtk-20170518-9405a2a6be701ee92ad0ffbe15d069bdae2cf850.zip mtk-20170518-9405a2a6be701ee92ad0ffbe15d069bdae2cf850.tar.gz mtk-20170518-9405a2a6be701ee92ad0ffbe15d069bdae2cf850.tar.bz2 |
Integrate basic UCI config file validation support Needs more testing and validation is not enforced yet
Code contributed by Fraunhofer Fokus
SVN-Revision: 6391
Diffstat (limited to 'package/base-files/files/lib/config/specs')
-rw-r--r-- | package/base-files/files/lib/config/specs/network.spec | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/package/base-files/files/lib/config/specs/network.spec b/package/base-files/files/lib/config/specs/network.spec new file mode 100644 index 0000000..3d19b5c --- /dev/null +++ b/package/base-files/files/lib/config/specs/network.spec @@ -0,0 +1,7 @@ +interface[] { + proto: string, required; + ipaddr: ip, required[proto=static]; + netmask: ip, required[proto=static]; + gateway: ip; + dns: ip; +} |