diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2008-09-25 13:57:28 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2008-09-25 13:57:28 +0000 |
commit | 729c5a24a8be86020acaff855f1c1e2882a39e42 (patch) | |
tree | 8943ddf6682d0c4fa39c9859e87c116b86904eae /applications/luci-samba/root/lib | |
parent | bab278613b6e5e4112a2921e60f7b65b7332409e (diff) |
* luci/libs/uvl: move most schemes to their corresponding packages
Diffstat (limited to 'applications/luci-samba/root/lib')
-rw-r--r-- | applications/luci-samba/root/lib/uci/schema/default/samba | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/applications/luci-samba/root/lib/uci/schema/default/samba b/applications/luci-samba/root/lib/uci/schema/default/samba new file mode 100644 index 0000000000..d4c7d8cd85 --- /dev/null +++ b/applications/luci-samba/root/lib/uci/schema/default/samba @@ -0,0 +1,76 @@ +package samba + +config package + option title 'Samba CIFS/SMB Daemon' + +config section + option name 'samba' + option package 'samba' + option title 'General Settings' + option unique true + option required true + +config variable + option name 'name' + option section 'samba.samba' + option title 'Hostname' + option datatype host + option required true + +config variable + option name 'description' + option section 'samba.samba' + option title 'Description' + +config variable + option name 'workgroup' + option section 'samba.samba' + option title 'Workgroup' + option required true + +config variable + option name 'homes' + option section 'samba.samba' + option title 'Share home-directories' + option description 'System users can reach their home directories via network shares.' + option datatype boolean + +config section + option name 'sambashare' + option package 'samba' + option title 'Shared Directories' + +config variable + option name 'name' + option section 'samba.sambashare' + option title 'Name' + option required true + +config variable + option name 'users' + option section 'samba.sambashare' + option title 'Allowed Users' + +config variable + option name 'read_only' + option section 'samba.sambashare' + option title 'Read Only' + option datatype boolean + +config variable + option name 'guest_ok' + option section 'samba.sambashare' + option title 'Allow Guests' + option datatype boolean + +config variable + option name 'create_mask' + option section 'samba.sambashare' + option title 'Create Mask' + option description 'Mask for new files' + +config variable + option name 'dir_mask' + option section 'samba.sambashare' + option title 'Directory Mask' + option description 'Mask for new directories' |