diff --git a/Changelog b/Changelog index fc3ec190..00159383 100644 --- a/Changelog +++ b/Changelog @@ -2,6 +2,7 @@ 0.2 () - replace system("touch") with touch() in finit-mod (Metalshark) - disable NO_HCTOSYS by default to match stock Eeepc kernel + - drop system("rm -f") to clean /tmp, its a fresh mounted tmpfs 0.1 (20081214) - initial release diff --git a/README b/README index c3ba8677..651d9290 100644 --- a/README +++ b/README @@ -69,3 +69,4 @@ problems related to udev and pam. /etc/init.d/portmap start /etc/init.d/nfs-common start +3 - Create /etc/hostname if you don't have it already diff --git a/finit-alt.c b/finit-alt.c index 39cadfe1..a90b09a0 100644 --- a/finit-alt.c +++ b/finit-alt.c @@ -274,7 +274,6 @@ int main() /* * Misc setup */ - system("/bin/rm -rf /tmp/* /tmp/.* 2>/dev/null"); unlink("/var/run/.clean"); unlink("/var/lock/.clean"); umask(0); diff --git a/finit-mod.c b/finit-mod.c index 3f3eed4d..1e8f9f2c 100644 --- a/finit-mod.c +++ b/finit-mod.c @@ -33,6 +33,7 @@ Changelog from the original Eeepc fastinit: - Omit first hwclock if user has CONFIG_RTC_HCTOSYS in kernel (by Metalshark) - Add –directisa to hwclock if user has disabled CONFIG_GENRTC and enabled CONFIG_RTC but not CONFIG_HPET_TIMER and CONFIG_HPET_RTC_IRQ (by Metalshark) +- Drop system() call to clean /tmp, it's a fresh mounted tmpfs */ @@ -225,7 +226,6 @@ int main() /* * Misc setup */ - system("/bin/rm -rf /tmp/* /tmp/.* 2>/dev/null"); unlink("/var/run/.clean"); unlink("/var/lock/.clean"); umask(0); diff --git a/finit.c b/finit.c index 80842115..f0f31285 100644 --- a/finit.c +++ b/finit.c @@ -164,7 +164,9 @@ int main() /* * Misc setup */ + /* not really needed, /tmp is a fresh mounted tmpfs */ system("/bin/rm -rf /tmp/* /tmp/.* 2>/dev/null"); + unlink("/var/run/.clean"); unlink("/var/lock/.clean"); umask(0);