Hi, i've created a custom script (/jffs/scripts/smb.postconf) for adding access based share enum = true to smb config but the changes just won't apply.
I've checked the log and the script seem to run without errors and regarding the smb daemon it disable before and start after the script execution
here is the script:
I've checked the log and the script seem to run without errors and regarding the smb daemon it disable before and start after the script execution
here is the script:
Code:
#!/bin/sh
CONFIG=$1
source /usr/sbin/helper.sh
pc_insert "smb passwd file = /etc/samba/smbpasswd" "access based share enum = true" $CONFIG
Last edited: