Running Your Own Application at Startup
- Published in Qnap
Method 1 Log into your QNAP device using SSH or Telnet, for instance by using Putty Optional: install nano; use ipkg install nano & edit with nano instead of vi TS-201: Mount the config ramblock /dev/mtdblock4: # mount -t ext2 /dev/mtdblock4 /tmp/config TS-109, TS-109P, TS-110, TS-119, TS-209, TS-209P, TS-219, TS-409 (Marvell ARM), TS-419P: Mount the config ramblock /dev/mtdblock5: # mount -t ext2 /dev/mtdblock5 /tmp/config TS-439, TS-509, TS-639, TS-809, TS-809U (x86): Mount the config ramblock /dev/sdx6: # mount -t ext2 /dev/sdx6 /tmp/config Create/Edit /tmp/config/autorun.sh . either using vi: # vi /tmp/config/autorun.sh Get vi editor into edit mode: press a Edit whatever you need to…
Read more...