View Single Post
Old 04-24-2012, 01:42 PM   #45
Koudijs
OpenBOOX developer
Koudijs knows the difference between 'who' and 'whom'Koudijs knows the difference between 'who' and 'whom'Koudijs knows the difference between 'who' and 'whom'Koudijs knows the difference between 'who' and 'whom'Koudijs knows the difference between 'who' and 'whom'Koudijs knows the difference between 'who' and 'whom'Koudijs knows the difference between 'who' and 'whom'Koudijs knows the difference between 'who' and 'whom'Koudijs knows the difference between 'who' and 'whom'Koudijs knows the difference between 'who' and 'whom'Koudijs knows the difference between 'who' and 'whom'
 
Koudijs's Avatar
 
Posts: 22
Karma: 10000
Join Date: Jan 2012
Device: BeBook Neo
Quote:
Originally Posted by kodomo View Post
modifications to rc.conf:
(added it to end of cfg_services)
- script is made executable
- /etc/rc.d/init.d should be available when rcS is called
- rcS calls script with explicit path - should be ok
(script relies on another helper script placed in /usr/local/bin)
- 2nd script is executable
- /usr/local/bin is part of the root partition - should be ok
- otherwise, the 1st script just uses busybox functionality (without an explicit path - but then again, so does, e.g., filesystems)

Nonetheless, the device freezes while booting...

(the appstart.sh attempt indeed probably was a dumb mistake in late-night-stupor - not making appstart.sh executable again after modification *cough* - but rc.config looks like the cleaner solution)
Some more questions, I hope they get you closer to the solution:
- Is the second script called by the first via an absolute path or is /usr/local/bin in $PATH?
- Perform the scripts one time actions or do they start a process in the background?
- What happens if you only echo some text in script 1 and 2? (redirect the output to e.g. /tmp/boot.txt) Does it boot? What's in the output file?
Koudijs is offline   Reply With Quote