방법은 간단합니다.
1. 먼저 FON에 La Fonera가 등록 되어 있어야 합니다.
2. 다음 스크립트 내용을 "Administration -> Commands" 에 들어가서 텍스트 박스에 넣고 "Save Startup" 한 번 눌러주시고, "Run Commands" 한 번 눌러주시면 됩니다.
#!/bin/sh
mkdir /tmp/simthefonecho '#!/bin/sh
sleep 60
cd /tmp/simthefon
/usr/bin/wget http://www.wildblue.de/fonera/heartbeat/key
/usr/bin/wget http://www.wildblue.de/fonera/heartbeat/simthefon
/usr/bin/wget http://www.wildblue.de/fonera/heartbeat/known_hosts
cat /tmp/simthefon/known_hosts >> /tmp/root/.ssh/known_hosts
chmod a+x /tmp/simthefon/simthefon
( /tmp/simthefon/simthefon cron >/tmp/simthefon/simthefon.log & ) &' >> /tmp/simthefon/heartbeatecho 'SHELL=/bin/sh
PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin
HOME=/tmp/root*/5 * * * * root /tmp/simthefon/simthefon cron >/tmp/simthefon/simthefon.log' >> /tmp/cron.d/heartbeat
chmod a+x /tmp/simthefon/heartbeat
/tmp/simthefon/heartbeatstopservice cron && startservice cron
참고로 이 스크립트는 wildblue라는 외국의 한 해커분께서 만드신 작품입니다.
댓글 없음:
댓글 쓰기