#config storageuser
#	option Enabled 'false'
#	option Username ''
#	option Password ''
# list ServiceInfo 'true|VPN|/tmp/charles|true' 'true|SAMBA|/tmp/charles|true'

# list ServiceInfo example:
#	'Enabled|ServiceName|AccessPath|Promission'
# commamd:
#	uci -c /etc/webui/config/ add users storageuser > /dev/null
# uci -c /etc/webui/config/ set users.@storageuser[-1].Enabled="true"
# uci -c /etc/webui/config/ set users.@storageuser[-1].Username="charles"
# uci -c /etc/webui/config/ set users.@storageuser[-1].Password="11111111"
# uci -c /etc/webui/config/ add_list users.@storageuser[-1].ServiceInfo="true|VPN|/tmp/charles|true";
# uci -c /etc/webui/config/ add_list users.@storageuser[-1].ServiceInfo="true|SAMBA|/tmp/charles|true";
# uci -c /etc/webui/config/ add_list users.@storageuser[-1].ServiceInfo="true|FTP|/tmp/charles|true";

#	uci -c /etc/webui/config/ add users storageuser > /dev/null
# uci -c /etc/webui/config/ set users.@storageuser[-1].Enabled="true"
# uci -c /etc/webui/config/ set users.@storageuser[-1].Username="roger"
# uci -c /etc/webui/config/ set users.@storageuser[-1].Password="22222222"
# uci -c /etc/webui/config/ add_list users.@storageuser[-1].ServiceInfo="true|SAMBA|/tmp/roger|true";
# uci -c /etc/webui/config/ add_list users.@storageuser[-1].ServiceInfo="true|SAMBA|/tmp/roger|false";

#	uci -c /etc/webui/config/ add users storageuser > /dev/null
# uci -c /etc/webui/config/ set users.@storageuser[-1].Enabled="true"
# uci -c /etc/webui/config/ set users.@storageuser[-1].Username="willy"
# uci -c /etc/webui/config/ set users.@storageuser[-1].Password="33333333"
# uci -c /etc/webui/config/ add_list users.@storageuser[-1].ServiceInfo="true|SAMBA|/tmp/willy|false";

config storageuser
	option Enabled 'true'
	option Username 'Admin'
	option Password ''
	list ServiceInfo 'true|VPN|/tmp/Admin|true'
