Script requires terminal
I have a minor problem with a script that has to be started on 15 netbooting clients during bootup. It works when you manually start it from bash on each client, it works when you ssh to the clients separately ("ssh clienthostname") and manually start it. It DOESN'T work when started at a runlevel ("rc-update script.sh add default"), it doesn't work when you ssh to the clients separately and execute the script as a parameter ("ssh clienthostname ./script.sh") and it doesn't work when you dsh it to all of the clients ("dsh -a ./script.sh"). Hence my conclution that it requires an actual terminal (or something like that). Does anyone have a solution to this?
Btw, the clients are using Gentoo with an NFS-mounted root filesystem.
|