Maybe /tmp/harddisk isn´t mounted in the moment of calling cd /tmp/harddisk?
Hi,
I want to start kaid via my post-boot script.
The kaid files are on my usb-drive (/tmp/harddisk)
I changed my post-boot (/usr/local/sbin/post-boot) to the following:
#!/bin/sh
dropbear
cd /tmp/harddisk
./kaid -d -c ./kaid.conf
After flashfs save/commit/enable I rebooted the router.
After that i started puttty:
ps -a shows dropbear running, but kaid isn't.
What am i doing wrong?
Gr.
JB
Maybe /tmp/harddisk isn´t mounted in the moment of calling cd /tmp/harddisk?
Could be.
How do i test that?
What should I do?
JB
You've to use post-mount.
Thanks,
It works.