Merged usplash support from smurfy's port

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
This commit is contained in:
Claudio Matsuoka
2008-05-31 10:56:40 -03:00
parent 9f99f38561
commit 4948844f82
2 changed files with 11 additions and 1 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
Experimental eeeXubuntu support merged from Smurfy's port, see
Experimental eeeXubuntu support merged from smurfy's port, see
http://forum.eeeuser.com/viewtopic.php?id=15685
+10
View File
@@ -64,6 +64,7 @@ THE SOFTWARE.
#define RUNPARTS "/bin/run-parts"
#define TOUCH_ETC_NETWORK_RUN_IFSTATE
#define LISTEN_INITCTL
#define USE_USPLASH
#else /* original Eeepc distribution */
#define RANDOMSEED "/var/lib/urandom/random-seed"
#define SYSROOT "/mnt"
@@ -161,6 +162,11 @@ int main()
puts("finit-alt " VERSION " (built " __DATE__ " " __TIME__
" by " WHOAMI ")");
#ifdef USE_USPLASH
system("usplash_write \"TEXT-URGENT finit " VERSION " (build "__DATE__ " " __TIME__ ") \"");
system("usplash_write \"PROGRESS 80\"");
#endif
chdir("/");
umask(022);
@@ -381,6 +387,10 @@ int main()
mkdir("/tmp/.ICE-unix", 01777);
umask(022);
#ifdef USE_USPLASH
system("usplash_write \"PROGRESS 90\"");
#endif
system(GETTY "&");
if (!fork()) {