Reply To: How to add a program to zeroshell that survives a reboot?

Home Page Forums Network Management ZeroShell How to add a program to zeroshell that survives a reboot? Reply To: How to add a program to zeroshell that survives a reboot?

#51928

r1vver
Participant

There is the way to store files in /Database directory (here files can survive reboot) and copy them to place where they are need to be via Post Boot script in Startup/Cron section in web-interface.
For example in my case i store udpxy binary and udpxy-startscript in /Database/udpxy/ and every boot system copy udpxy binary to /bin and run udpxystart.sh script:

Code:
# Startup Script
cp /Database/udpxy/udpxy /bin
sh /Database/udpxy/udpxystart.sh