Skip to content

Instantly share code, notes, and snippets.

@cygmris
Created November 15, 2016 19:49
Show Gist options
  • Save cygmris/4e2d899a9eadf7ea229b97d137d5413b to your computer and use it in GitHub Desktop.
Save cygmris/4e2d899a9eadf7ea229b97d137d5413b to your computer and use it in GitHub Desktop.
/etc/config/samba on OpenWrt
config samba
option 'name' 'SchoolPot'
option 'workgroup' 'SchoolPot'
option 'description' 'SchoolPot'
option 'homes' '1'
config sambashare
option name 'root'
option users 'root'
option path '/home'
option read_only 'no'
option guest_ok 'no'
option create_mask '0700'
option dir_mask '0700'
config sambashare
option name 'chris'
option users 'chris'
option path '/mnt/sda2'
option read_only 'no'
option guest_ok 'no'
option create_mask '0700'
option dir_mask '0700'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment