Magellan Linux

Diff of /mcore-src/trunk/mcore-tools/src/modules/plymouth/plymouth.client.class.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2551 by niro, Tue Jan 14 10:34:57 2014 UTC revision 2552 by niro, Wed Sep 16 13:41:42 2015 UTC
# Line 20  set_boot_splash() Line 20  set_boot_splash()
20   local action="${CLASS_ARGV[0]}"   local action="${CLASS_ARGV[0]}"
21   [[ -z ${action} ]] && help_boot_splash && return 1   [[ -z ${action} ]] && help_boot_splash && return 1
22    
23     # do not allow this on livecd or netboot systems
24     if [ -e /dev/mapper/live-rw ]
25     then
26     eecho "This function is not allowed on live-media or netboot systems."
27     return 1
28     fi
29    
30   case "${action}" in   case "${action}" in
31   enable)   enable)
32   sed -i "s:^\(export GRUB_CMDLINE_BOOTSPLASH=\).*:\1\"splash\":" ${MROOT}@@CONFDDIR@@/grub   sed -i "s:^\(export GRUB_CMDLINE_BOOTSPLASH=\).*:\1\"splash\":" ${MROOT}@@CONFDDIR@@/grub

Legend:
Removed from v.2551  
changed lines
  Added in v.2552