From 14a526687db578f86885bc0253bd2dcb979ddcfb Mon Sep 17 00:00:00 2001 From: Matt Burchett Date: Fri, 27 Nov 2015 04:46:52 -0600 Subject: [PATCH] fixing bad formatting --- tempclean.sh | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/tempclean.sh b/tempclean.sh index 0ff721b..2a62f68 100644 --- a/tempclean.sh +++ b/tempclean.sh @@ -4,8 +4,8 @@ /sbin/service auditd stop /bin/package-cleanup --oldkernels --count=1 -y /usr/bin/yum clean all -/usr/sbin/logrotate –f /etc/logrotate.conf -/bin/rm –f /var/log/*-???????? /var/log/*.gz +/usr/sbin/logrotate -f /etc/logrotate.conf +/bin/rm -f /var/log/*-???????? /var/log/*.gz /bin/rm -f /var/log/dmesg.old /bin/rm -rf /var/log/anaconda /bin/cat /dev/null > /var/log/audit/audit.log @@ -13,11 +13,10 @@ /bin/cat /dev/null > /var/log/lastlog /bin/cat /dev/null > /var/log/grubby /bin/rm -f /etc/udev/rules.d/70* -/bin/sed -i '/^(HWADDR|UUID)=/d' -/etc/sysconfig/network-scripts/ifcfg-eth0 -/bin/rm –rf /tmp/* -/bin/rm –rf /var/tmp/* -/bin/rm –f /etc/ssh/*key* +/bin/sed -i '/^(HWADDR|UUID)=/d' /etc/sysconfig/network-scripts/ifcfg-eth0 +/bin/rm -rf /tmp/* +/bin/rm -rf /var/tmp/* +/bin/rm -f /etc/ssh/*key* /bin/rm -f ~root/.bash_history unset HISTFILE /bin/rm -rf ~root/.ssh/