ColinTaylor
Part of the Furniture
It looks like you messed up the postconf script. Delete it and start again. This time make sure the script contains only this:
EDIT:
Code:
#!/bin/sh
CONFIG=$1
source /usr/sbin/helper.sh
pc_replace "store dos attributes = yes" "store dos attributes = no" $CONFIG
EDIT:
You're getting this error because the file you create is in DOS format and not Unix. Either create the file correctly or run the following command:NOTE: I tried (after ssh connection)
ssh command prompt:
sh smb.postconf and get error:
'mb.postconf: source: line 3: can't open '/usr/sbin/helper.sh
(yet I can cd /user/sbin/ and then sh help.sh just fine.)
Code:
dos2unix /jffs/scripts/smb.postconf
Last edited: