Yesterday I successfully compiled pms 1.20.412 on my QNAP ts-239 using ssh through Putty. I started the program using ./PMS.sh through Putty and everything was fine. I can see and stream all files including those with chinese character file name. no problems at all.
The next step was to put the pms into autostart.sh, here is my autostart code
- Code: Select all
#!/bin/sh
#Symlink Optware to /opt
rm -rf /opt
ln -sf /share/HDA_DATA/.qpkg/Optware /opt
#Export Optware PATH
echo "export PATH=$PATH:/opt/bin:/opt/sbin:/usr/local/sbin" >> /etc/profile
#Start Optware
/etc/init.d/Optware.sh start
#Start JAVA
/share/HDA_DATA/.qpkg/JRE/jre.sh start
#Export JAVA PATH
export JAVA_HOME=/usr/local/jre
#Start PS3 MediaServer
cd /opt/pms
./PMS.sh &
the program started fine however I can only see files with english characters, I no longer be able to see any chinese charactor file showing up. I checked the debug.log however it was exactly the same as i manually run through putty.
does autorun.sh really make any difference than running through putty?
