|
本帖最后由 gordonxu 于 2016-12-18 11:55 编辑
重启My Cloud 后,你需输入如下命令启动BT Sync:
cd /usr/bin
./rslsync --webui.listen 192.168.1.196:8888(根据你的情况改成你自己的My Cloud IP地址)
你若想开机时自动启动 BT Sync,需要如下步骤。
Type command in Putty:
sudo nano /etc/init.d/rslsync
复制下面斜体代码,然后在Puty里右单击, 那么代码会自动黏贴到那里。
#! /bin/sh
# /etc/init.d/rslsync
#
# Carry out specific functions when asked to by the system
case "$1" in
start)
/usr/bin/rslsync
;;
stop)
killall rslsync
;;
*)
echo "Usage: /usr/bin/rslsync {start|stop}"
exit 1
;;
esac
exit 0
To save the script, press CTRL+X, and then press ‘Y’
Type command:
sudo chmod 755 /etc/init.d/rslsync
sudo /etc/init.d/rslsync start
sudo /etc/init.d/rslsync stop
sudo update-rc.d rslsync defaults
We’re all done.
希望对您有所帮助! |
|