Hi,
I'd like to run my script from /etc/inittab
I add the following line to it:
infx:3456nce:/tmp/for_test >/dev/console 2>&1
The script has -rwxr-x-r-x permission
The script content:
-------------------------------------------
#!/bin/ksh
echo "running for_test script"
touch /tmp/for_test.log
-------------------------------------------
But after reboot I don't see /tmp/for_test.log file created
Also:
/var/adm/ras: alog -f console -o
doesn't show me any relevant message.
What is the problem?
Thanks in advance,
Vadim
I'd like to run my script from /etc/inittab
I add the following line to it:
infx:3456nce:/tmp/for_test >/dev/console 2>&1
The script has -rwxr-x-r-x permission
The script content:
-------------------------------------------
#!/bin/ksh
echo "running for_test script"
touch /tmp/for_test.log
-------------------------------------------
But after reboot I don't see /tmp/for_test.log file created
Also:
/var/adm/ras: alog -f console -o
doesn't show me any relevant message.
What is the problem?
Thanks in advance,
Vadim