This is madness!
When you have the "smb.postconf" file "use sendfile = yes" and want to change to "use sendfile = no" It does not change.
But if you do the other way it works.
- From "no" to "yes" = works
- From "yes" to "no" = does not work
When I use the "service restart_nasapps" is the same thing.
But when I use this with ssh, it always works both ways!
/jffs/scripts/smb.postconf /etc/smb.conf
At this point I have no idea what you are doing wrong. It definitely works fine here.
Code:
admin@Stargate87:/jffs/scripts# cat /etc/smb.conf | grep sendfile
use sendfile = yes
admin@Stargate87:/jffs/scripts# service restart_nasapps
Done.
admin@Stargate87:/jffs/scripts# cat /etc/smb.conf | grep sendfile
use sendfile = no