aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2001-08-16 16:21:14 +0000
committerBill Nottingham <notting@redhat.com>2001-08-16 16:21:14 +0000
commit839caf6c4984105a1d58de3b03b76741acb0dc8e (patch)
tree7247646ba47161c1f1af43731568c034ec6c1a4d /rc.d
parent6b2e718290b35742782e67cee96f2292c41150e5 (diff)
downloadinitscripts-839caf6c4984105a1d58de3b03b76741acb0dc8e.tar
initscripts-839caf6c4984105a1d58de3b03b76741acb0dc8e.tar.gz
initscripts-839caf6c4984105a1d58de3b03b76741acb0dc8e.tar.bz2
initscripts-839caf6c4984105a1d58de3b03b76741acb0dc8e.tar.xz
initscripts-839caf6c4984105a1d58de3b03b76741acb0dc8e.zip
blow away stale RPM cache files at boot
Diffstat (limited to 'rc.d')
-rwxr-xr-xrc.d/rc.sysinit1
1 files changed, 1 insertions, 0 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index 4e2922d1..b00fb06e 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -619,6 +619,7 @@ for afile in /var/lock/* /var/run/*; do
rm -f $afile
fi
done
+rm -f /var/lib/rpm/__db*
# Reset pam_console permissions
[ -x /sbin/pam_console_apply ] && /sbin/pam_console_apply -r