View Single Post
Posts: 1,808 | Thanked: 4,272 times | Joined on Feb 2011 @ Germany
#119
@Estel,

The first two commands are just variable assignments which are internal to preinit, so you could safely modprobe fbcon at the second line of preinit (after the #!/bin/sh).

In fact the first line of *actual code* (defined as having a "side effect") that gets executed is within the init_system function, namely "mount -t proc none /proc".

Regarding balls: I have just edited preinit and put the modprobe line as the very second "physical" line of the file (i.e. after the shebang).

I'm now shutting down.
Weird: instead of shutting down it actually rebooted.
Lemme try again.
OK now it's actually shutdown.
Turning on.
It booted but came but a getbootstate of SHUTDOWN, so it shutdown
(it does this from time to time. Still don't know why).
So, on again:
OK. Worked fine

Something (AFAIK unrelated with fbcon) is fvcked up on the boot process of my spare N900. But I can't quite put my finger on it. Nevertheles, it works.
 

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