Magellan Linux

Contents of /mcore-src/trunk/mcore-tools/daemon/client/include/boot.client.class

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2079 - (show annotations) (download)
Fri May 10 11:37:38 2013 UTC (10 years, 11 months ago) by niro
File size: 931 byte(s)
-split systemd, sysvinit, fbsplash and plymouth functions in single classes so no runtime checks are required and the correct version get installed right away
1 # $Id$
2
3 provide basic-boot
4 require basic-splash
5
6 helper_boot_rebuild_bootconfig()
7 {
8 local grubconf="/boot/grub/grub.cfg"
9
10 mount /boot &> /dev/null
11 grub-mkconfig -o ${grubconf}
12 umount /boot &> /dev/null
13 }
14
15 help_boot_splash()
16 {
17 mecho "get boot.splash"
18 mecho " Shows the state of bootsplash"
19 mecho
20 mecho "set boot.splash [action]"
21 mecho " Enables or disables a fancy splashscreen at boot time."
22 mecho " Available actions:"
23 mecho " enable - enables bootsplash"
24 mecho " disable - disables bootsplash"
25 }
26
27 help_boot_theme()
28 {
29 mecho "get boot.theme [action]"
30 mecho " Shows current selected or system-wide available bootsplash themes."
31 mecho " Available actions:"
32 mecho " system - shows available themes on the system"
33 mecho " current - shows the currently used theme of bootsplash"
34 mecho
35 mecho "set boot.theme [theme]"
36 mecho " Selects the theme which will be used on system startup by bootsplash."
37 }
38