Hi!
I want to change samba path and make
nano /jffs/scripts/smb.postconf
chmod a+rx /jffs/scripts/smb.postconf
and add this:
#!/bin/sh
CONFIG=$1
source /usr/sbin/helper.sh
pc_replace "path=/tmp/HDD" "path=/tmp/HDD/data" $CONFIG
But it's not working
in /etc/smb.conf path not changes
What should I do?
minidlna.postconf works for me
I want to change samba path and make
nano /jffs/scripts/smb.postconf
chmod a+rx /jffs/scripts/smb.postconf
and add this:
#!/bin/sh
CONFIG=$1
source /usr/sbin/helper.sh
pc_replace "path=/tmp/HDD" "path=/tmp/HDD/data" $CONFIG
But it's not working
in /etc/smb.conf path not changes
What should I do?
minidlna.postconf works for me