mirror of
https://github.com/troglobit/finit.git
synced 2026-11-08 16:11:10 +00:00
Merged usplash support from smurfy's port
Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
This commit is contained in:
1 parent
9f99f38561
commit
4948844f82
2 files changed
+11
-1
No files matched your search
+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
|
http://forum.eeeuser.com/viewtopic.php?id=15685
|
||||||
|
|
||||||
+10
@@ -64,6 +64,7 @@ THE SOFTWARE.
|
|||||||
#define RUNPARTS "/bin/run-parts"
|
#define RUNPARTS "/bin/run-parts"
|
||||||
#define TOUCH_ETC_NETWORK_RUN_IFSTATE
|
#define TOUCH_ETC_NETWORK_RUN_IFSTATE
|
||||||
#define LISTEN_INITCTL
|
#define LISTEN_INITCTL
|
||||||
|
#define USE_USPLASH
|
||||||
#else /* original Eeepc distribution */
|
#else /* original Eeepc distribution */
|
||||||
#define RANDOMSEED "/var/lib/urandom/random-seed"
|
#define RANDOMSEED "/var/lib/urandom/random-seed"
|
||||||
#define SYSROOT "/mnt"
|
#define SYSROOT "/mnt"
|
||||||
@@ -161,6 +162,11 @@ int main()
|
|||||||
puts("finit-alt " VERSION " (built " __DATE__ " " __TIME__
|
puts("finit-alt " VERSION " (built " __DATE__ " " __TIME__
|
||||||
" by " WHOAMI ")");
|
" by " WHOAMI ")");
|
||||||
|
|
||||||
|
#ifdef USE_USPLASH
|
||||||
|
system("usplash_write \"TEXT-URGENT finit " VERSION " (build "__DATE__ " " __TIME__ ") \"");
|
||||||
|
system("usplash_write \"PROGRESS 80\"");
|
||||||
|
#endif
|
||||||
|
|
||||||
chdir("/");
|
chdir("/");
|
||||||
umask(022);
|
umask(022);
|
||||||
|
|
||||||
@@ -381,6 +387,10 @@ int main()
|
|||||||
mkdir("/tmp/.ICE-unix", 01777);
|
mkdir("/tmp/.ICE-unix", 01777);
|
||||||
umask(022);
|
umask(022);
|
||||||
|
|
||||||
|
#ifdef USE_USPLASH
|
||||||
|
system("usplash_write \"PROGRESS 90\"");
|
||||||
|
#endif
|
||||||
|
|
||||||
system(GETTY "&");
|
system(GETTY "&");
|
||||||
|
|
||||||
if (!fork()) {
|
if (!fork()) {
|
||||||
|
|||||||
Reference in new issue
Block a user