mirror of
https://github.com/troglobit/finit.git
synced 2026-10-11 17:02:42 +07:00
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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user