mirror of
https://github.com/troglobit/finit.git
synced 2026-10-02 05:52:48 +07:00
Merged usplash support from smurfy's port
Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
This commit is contained in:
+1
-1
@@ -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
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user