From 9405a2a6be701ee92ad0ffbe15d069bdae2cf850 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 26 Feb 2007 20:04:04 +0000 Subject: Integrate basic UCI config file validation support Needs more testing and validation is not enforced yet Code contributed by Fraunhofer Fokus SVN-Revision: 6391 --- package/base-files/files/lib/config/specs/network.spec | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 package/base-files/files/lib/config/specs/network.spec (limited to 'package/base-files/files/lib/config/specs') 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; +} -- cgit v1.1