Diff of /trunk/busybox/splash-functions.rc
Parent Directory | Revision Log | Patch
revision 1275 by niro, Fri Feb 4 21:30:04 2011 UTC | revision 1277 by niro, Fri Feb 4 21:34:23 2011 UTC | |
---|---|---|
# | Line 22 rc_init() | Line 22 rc_init() |
22 | ||
23 | splash_cursor disable | splash_cursor disable |
24 | chvt ${SPLASH_TTY} | chvt ${SPLASH_TTY} |
25 | sleep 0.5 | |
26 | ||
27 | if [[ $runlevel = boot ]] || [[ ${runlevel} = sysinit ]] | if [[ $runlevel = boot ]] || [[ ${runlevel} = sysinit ]] |
28 | then | then |
# | Line 67 rc_exit() | Line 68 rc_exit() |
68 | then | then |
69 | splash_control "exit" | splash_control "exit" |
70 | splash_cursor enable | splash_cursor enable |
71 | chvt 1 | if [[ -n ${SPLASH_X11_TTY} ]] |
72 | then | |
73 | chvt ${SPLASH_X11_TTY} | |
74 | else | |
75 | chvt 1 | |
76 | fi | |
77 | fi | fi |
78 | } | } |
79 |
|