mirror of
https://github.com/troglobit/finit.git
synced 2026-11-09 16:21:24 +00:00
Clean up hidden dot files from /tmp
Signed-off-by: Wang He <xw897002528@gmail.com> Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
3554138118
commit
a64259362e
1 file changed
+1
-1
@@ -373,7 +373,7 @@ int main(int argc, char* argv[])
|
|||||||
umask(0022);
|
umask(0022);
|
||||||
|
|
||||||
/* Cleanup of stale files, if any still linger on. */
|
/* Cleanup of stale files, if any still linger on. */
|
||||||
run_interactive("rm -rf /tmp/* /var/run/* /var/lock/*", "Cleaning up temporary directories");
|
run_interactive("rm -rf /tmp/* /tmp/.??* /var/run/* /var/lock/*", "Cleaning up temporary directories");
|
||||||
|
|
||||||
/* Base FS up, enable standard SysV init signals */
|
/* Base FS up, enable standard SysV init signals */
|
||||||
sig_setup(&loop);
|
sig_setup(&loop);
|
||||||
|
|||||||
Reference in new issue
Block a user