I run an Open Server 5.0.7. There is a cleanup script which is running every sunday.When executing the script I get a kernal panic. Can someone help me to understand the script?I'm pretty new to shell scripting.
# Clean up super-user log.cp /usr/adm/sulog /usr/adm/Osulog> /usr/adm/sulog# If accounting isn't enabled, clean up wtmp and wtmpx,# being careful not to create them if they don't exist.if [ -x /usr/lib/acct/acct_enable ] && /usr/lib/acct/acct_enable -cs ; then : Do nothing - accounting will clean up wtmp and wtmpxelse [ -f /etc/wtmp ] && >/etc/wtmp [ -f /etc/wtmpx ] && >/etc/wtmpxfi# Clean up miscellaneous files.find / -type f -name core -atime +7 -local -exec rm -f {} \;Can someone help me? I don't know what happened here.