標題: Autorun asterisk after reboot with updating /etc/host on QNAP TS-269 Pro [打印本頁] 作者: 角色 時間: 2012-10-29 02:42 標題: Autorun asterisk after reboot with updating /etc/host on QNAP TS-269 Pro
本帖最後由 角色 於 2012-11-2 21:32 編輯
怎样自动启动asterisk?
1) mount /dev/sdx6 /tmp/config
2) cd /tmp/config
3) vi autorun.sh and add the following
#!/bin/sh
#sym-link ./Optware to /opt
rm -rf /opt
ln -sf /share/MD0_DATA/.qpkg/Optware /opt
#pass the start control to /opt/etc/init.d/asterisk-start.sh
Remarks:
1) In Step 8, the file /tmp/.boot_done was replaced by /tmp/.thttpd_alive because file did not appear.
2) Due to the command library called for the Google talk, only the first asterisk could use it, the rest of the two are not able to use it. If you want any particular asterisk to run Google Talk, that asterisk has to be placed at the front of all asterisk starters.