Welcome, Guest. Please login or register.
April 20, 2014, 06:52:37 AM
Home Help Search Calendar Login Register
Show unread posts since last visit.
News: Let Pardus-Anka become #1: Pardus-Anka Bug ReportPardus-Anka World Google+ | The Pardus wiki  | Visit Pardus-Anka official website  | Register as forum member?  Email the moderator!

+  Pardus Worldforum
|-+  Assistance
| |-+  Pardus for beginners
| | |-+  Delete /tmp content
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Delete /tmp content  (Read 1128 times)
waf
Guest
« on: January 03, 2010, 22:08:18 PM »

-
« Last Edit: April 16, 2011, 18:47:27 PM by waf » Logged
atolboo
Pardus Guru
****
Posts: 2317



View Profile
« Reply #1 on: January 03, 2010, 23:48:00 PM »

You could try /root/.kde4/Autostart
May this is working.
it's just a guess.

Or use /etc/cron.daily or /etc/cron.hourly
« Last Edit: January 03, 2010, 23:50:21 PM by atolboo » Logged
gyan000
Pardus fellow craft
**
Posts: 46



View Profile WWW
« Reply #2 on: January 04, 2010, 02:21:57 AM »

The simple way could be to add

Code:
rm -Rf /tmp/*

in /etc/conf.d/local.stop to delete all the files contained in /tmp when you switch off your PC.
Logged

---
gyan000 - plus-qu'en-retard
rotistmeinname
Newbie
*
Posts: 9


View Profile
« Reply #3 on: January 05, 2010, 13:54:20 PM »

acutally i thought on the boot procedure /temp will be cleaned up by default?!
if not you can do it in a bash script like gyan000 described it and put the script to your Autostart via systemsettings -> advanced -> autostart
then pick your script... and let it run.

Code:
#!/bin/bash
rm -Rf /tmp/*
exit

make the script stored and executable
Logged
gyan000
Pardus fellow craft
**
Posts: 46



View Profile WWW
« Reply #4 on: January 05, 2010, 16:10:30 PM »

Yes, normaly, the /tmp directory is cleaned-up at startup on 2009.
Logged

---
gyan000 - plus-qu'en-retard
Alexey
Pardus fellow craft
**
Gender: Male
Posts: 95



View Profile
« Reply #5 on: October 18, 2011, 07:04:28 AM »

put
rm -rf /tmp/*
in
/etc/conf.d/local.start?

It will be clean /tmp in startup actions in mudur.
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!