Hi, i tried to build some init script for Linux in Rexx, to debug i use the qdate.rex sample.
i run under Linux 188.8.131.52-0.4-default kernel and rexx : Open Object Rexx Interpreter Version 3.1.2 for LINUX
Build date: Apr 20 2007
I copy the qdate.rexx in /etc/init.d and rename it in testrexx.rex. I build a link in rc3.d : /etc/init.d/rc3.d/S22testrexx -> ../testrexx.rex
I test the S22testrexx that run fine :
obelix:/ # /etc/init.d/rc3.d/S22testrexx
It's Friday the 12th of October, 2007.
There will be a waxing half moon in six days.
and try to change run level : telinit 2 and telinit 3. After that i reboot the computer but the script does not run. I changed the rexx to write output, tried some echo, etc .. but init does not seems to run it ?
the Rexx was installed by rpm and the program is in : /opt/ooRexx/bin/rexx with a link in : /usr/bin/rexx that is in the path of init.
Do you know that problem or where i have make a mistake ?