View Single Post
Posts: 1,808 | Thanked: 4,272 times | Joined on Feb 2011 @ Germany
#30
Originally Posted by pichlo View Post
I thought Maemo was a hacker edition
Not quite (at least in my book).

Edit: I am assuming that all the zzz scripts can go too. The "remove first boot flag" one is a no op anyway.
Yup. We'd need to figure out which of the scripts in /etc/init.d are executed, sourced or linked by any other startup scripts (which we know now are *only* in /etc/event.d).

Code:
$ grep init.d /etc/event.d/*
fmtx, funambol-cpp-api, iphb, ke-recv, ke-recv-extra, kernel-power (yup, ssh script is in /etc/init.d), pymaemo-optify, rcS, reboot, shutdown, wappushd).

As long as the above scripts don't call other scripts also in /etc/init.d we could edit/patch the corresponding scripts in /etc/event.d to include the relevant content.

Then not only /etc/rc?.d and /etc/event.replace.d/ could be deleted, but also /etc/init.d.

And then (finally) the startup scripts would all be nicely and self-containedly placed under /etc/event.d.

Not that it would change anything, per se, but who doesn't want a clean system?!
 

The Following 6 Users Say Thank You to reinob For This Useful Post: