I am in a good mood this morning (which is to change abruptly, when I goto work)
Here is my way of automating CLI mode software. I will demo GAH and Audiogalaxy.
First we start the software up at boot time. I use a script to load it a specific way here. I tell /etc/inittab to load it and dump the output to ttys 10,11,12
Code:
# Audiogalaxy Startup
10:2345:once:/audiogalaxy/init >/dev/tty10
# Genome@Home Client software
11:2345:once:/gah/ghc1/init >/dev/tty11
12:2345:once:/gah/ghc2/init >/dev/tty12
Next we do the actual scripts.
Audioglaxy
Code:
#!/bin/sh
cd /audiogalaxy
./AGSatellite-static 64.245.58.81 21
GAH
Code:
#!/bin/sh
cd /gah/ghc1
./ghclient.x
Simple eh?
Bookmarks