Click to See Complete Forum and Search --> : Passing options in a program that is located in /etc/init.d


bazoukas
02-17-2006, 09:45 AM
Hello :)

I created a startup script and placed it in /etc/init.d. I also created symlinks at different runlevels and everything works fine.
It is for eterm.

When I type /etc/init.d/eterm-desk start the program starts with no problem.

I do however have a problem when in the init.d/eterm-desk I include options for transperancy and such. Then the shell tells me that --trans is an unrecognized option.


Here is the line that works in my /etc/init.d/eterm-desk file

start-stop-daemon -S -q -o -x /usr/bin/Eterm

and this is when I add few options for Eterm but init.d gives me an error.


start-stop-daemon -S -q -o -x /usr/bin/Eterm --trans --borderless



Help ? :)