mirror of
https://github.com/troglobit/finit.git
synced 2026-10-31 13:00:32 +00: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:
1 parent
ef3071b957
commit
bbe281db55
5 files changed
+5
-2
No files matched your search
+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