Thread
:
New package: rescue-boot
View Single Post
Matan
2010-01-18 , 11:36
Posts: 1,224 | Thanked: 1,763 times | Joined on Jul 2007
#
1
This package has simple functionality:
If during boot (sometime in the first 5 seconds, while the white screen with NOKIA still displays) the camera door is open and the camera key is pressed then:
The LED is turned on bright white for a second - this signals to the user that the press is registered.
The scripts in /etc/rescue-boot.d/ directory are executed very early in the boot process.
The scripts in /etc/rescue-boot-late.d/ directory are executed after all file systems are mounted.
This is useful for developers that their development might cause the system to become non bootable.
For example developer of MyMenu might put a script that contains
Code:
mv /etc/xdg/menus/hildon.menu /
in /etc/rescue-boot.d/
And then if a user complains that MyMenu caused his system a reboot-loop, then the user can be instructed to perrform a rescue boot. Then the system will boot (with an empty launcher), and the user can run xterm with ctrl-shift-x and restore a known working hildon.menu while sending the problematic hildon.menu for analysis.
If MyMenu uses /home/user/.config/menus/hildon.menu instead, then the script needs to be in /etc/rescue-boot-late.d/, since /home is not yet mounted during execution of /etc/rescue-boot.d/.
Quote & Reply
|
The Following 8 Users Say Thank You to Matan For This Useful Post:
009N
,
AlMehdi
,
Erazor
,
Helmuth
,
lma
,
Mentalist Traceur
,
phedders
,
Schturman
Matan
View Public Profile
Send a private message to Matan
Find all posts by Matan