Add nasctl: Go NAS control plane with React frontend
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
# Generated by nasctl. Do not edit manually.
|
||||
|
||||
[global]
|
||||
workgroup = WORKGROUP
|
||||
server string = nasctl
|
||||
security = user
|
||||
map to guest = Bad User
|
||||
dns proxy = no
|
||||
|
||||
{{range .Shares}}
|
||||
[{{.Name}}]
|
||||
path = {{.Path}}
|
||||
comment = {{.Comment}}
|
||||
browseable = yes
|
||||
read only = {{if .ReadOnly}}yes{{else}}no{{end}}
|
||||
guest ok = {{if .GuestOK}}yes{{else}}no{{end}}
|
||||
{{- if .ValidUsers}}
|
||||
valid users = {{join .ValidUsers ","}}
|
||||
{{- end}}
|
||||
{{- if .ValidGroups}}
|
||||
valid groups = {{join .ValidGroups ","}}
|
||||
{{- end}}
|
||||
|
||||
{{end}}
|
||||
Reference in New Issue
Block a user