Magellan Linux

Diff of /trunk/busybox/splash-functions.rc

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

revision 1743 by niro, Fri Jul 1 14:17:30 2011 UTC revision 1744 by niro, Thu Apr 19 15:13:51 2012 UTC
# Line 42  splash() Line 42  splash()
42   case $1 in   case $1 in
43   rc_init) rc_init ;;   rc_init) rc_init ;;
44   rc_verbose|rc_exit) rc_exit ;;   rc_verbose|rc_exit) rc_exit ;;
45     # redraw splash image and text
46     svc_started)
47     if [[ ${runlevel} = boot ]] || [[ ${runlevel} = sysinit ]]
48     then
49     splash_control "image:"
50     splash_control "write:${SPLASH_BOOT_MESSAGE}"
51     fi
52     ;;
53     svc_stopped)
54     if [[ ${runlevel} = shutdown ]]
55     then
56     splash_control "image:"
57     splash_control "write:${SPLASH_SHUTDOWN_MESSAGE}"
58     fi
59     if [[ ${runlevel} = reboot ]]
60     then
61     splash_control "image:"
62     splash_control "write:${SPLASH_REBOOT_MESSAGE}"
63     fi
64     ;;
65   esac   esac
66  }  }
67    
# Line 55  rc_init() Line 75  rc_init()
75   chvt ${SPLASH_TTY}   chvt ${SPLASH_TTY}
76   sleep 0.5   sleep 0.5
77    
78   if [[ $runlevel = boot ]] || [[ ${runlevel} = sysinit ]]   if [[ ${runlevel} = boot ]] || [[ ${runlevel} = sysinit ]]
79   then   then
80   fbsplash -i ${SPLASH_THEMES}/${SPLASH_THEME}/${resolution}.conf \   fbsplash -i ${SPLASH_THEMES}/${SPLASH_THEME}/${resolution}.conf \
81   -s ${SPLASH_THEMES}/${SPLASH_THEME}/startup-${resolution}.ppm.gz \   -s ${SPLASH_THEMES}/${SPLASH_THEME}/startup-${resolution}.ppm.gz \
# Line 79  rc_init() Line 99  rc_init()
99   splash_control "write:${SPLASH_SHUTDOWN_MESSAGE}"   splash_control "write:${SPLASH_SHUTDOWN_MESSAGE}"
100   fi   fi
101    
102   if [[ $runlevel = reboot ]]   if [[ ${runlevel} = reboot ]]
103   then   then
104   fbsplash -i ${SPLASH_THEMES}/${SPLASH_THEME}/${resolution}.conf \   fbsplash -i ${SPLASH_THEMES}/${SPLASH_THEME}/${resolution}.conf \
105   -s ${SPLASH_THEMES}/${SPLASH_THEME}/reboot-${resolution}.ppm.gz \   -s ${SPLASH_THEMES}/${SPLASH_THEME}/reboot-${resolution}.ppm.gz \

Legend:
Removed from v.1743  
changed lines
  Added in v.1744