View Single Post
  #1  
Old 17.12.2017, 12:17
animus animus is offline
Ultra Loader
 
Join Date: Jan 2010
Posts: 48
Default help needed.debian bash script and launch at boot

hi

i dont know where to post this but here it is

i just made a 24/7 open set up with asus tinkerboard and an external harddrive
as my download machine (may be a nas/fileserver for the the future if i can figure out a way to use smb and resillio).

i got the jd2 working somehow but i have to connect to tinkerboard via vnc and select the folder jd2 is in ,open a terminal with the folder then enter the headless mode command "java -Djava.awt.headless=true -jar JDownloader.jar" everytime it rebooted after a black out or etc.i couldnt make the sh file work for debian (possibly because the board is using arm arch)

my question is
is there a way to automate this.basicly write a script for the headless process that wont open a terminal window or hide it somehow (for accidental closing)
at boot.jd will close if you close the terminal window

i am at complete lost since because i started using linux 3-4 days ago.looking around everywhere i managed to do somethings but i need some help
Reply With Quote