40d7681e6a
- resolve ipv4 and ipv6 addresses of logical interface names and add them to the interfaces line - make charset uci-configurable and default to UTF-8 - cleanup init script, annotate uci configuration git-svn-id: svn://svn.openwrt.org/openwrt/packages@29505 3c298f89-4303-0410-b956-a3cf2f4a3e73
30 lines
779 B
Plaintext
30 lines
779 B
Plaintext
# Base server settings
|
|
config samba
|
|
## Override if desired, defaults to hostname
|
|
#option 'name' 'OpenWrt'
|
|
#option 'workgroup' 'OpenWrt'
|
|
#option 'description' 'Samba on OpenWrt'
|
|
|
|
## Expose user home directories, defaults to off
|
|
option 'homes' '1'
|
|
|
|
## Override character set, default is UTF-8
|
|
option 'charset' 'ISO-8859-1'
|
|
|
|
## Override listen interfaces & addresses,
|
|
## defaults to loopback and lan
|
|
#list 'interface' 'loopback'
|
|
#list 'interface' 'lan'
|
|
#list 'interface' '10.0.0.0/255.255.0.0'
|
|
#list 'interface' 'eth0'
|
|
|
|
# Declare a share on /tmp
|
|
config sambashare
|
|
option 'name' 'tmp'
|
|
option 'path' '/tmp'
|
|
option 'read_only' 'no'
|
|
option 'guest_ok' 'no'
|
|
option 'create_mask' '0700'
|
|
option 'dir_mask' '0700'
|
|
#option 'users' 'abc'
|