Drop system("rm -f") to clean /tmp, its a fresh mounted tmpfs

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
This commit is contained in:
Claudio Matsuoka
2008-02-16 18:07:57 -02:00
parent ef3071b957
commit bbe281db55
5 changed files with 5 additions and 2 deletions
+1
View File
@@ -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
+1
View File
@@ -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
-1
View File
@@ -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);
+1 -1
View File
@@ -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);
+2
View File
@@ -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);