SHA256
1
0
forked from pool/aaa_base
Ruediger Oertel 2010-08-27 13:16:58 +00:00 committed by Git OBS Bridge
parent d4eea0e838
commit eebd7c0155

View File

@ -65,11 +65,13 @@ if grep -q RCCONFIG_BACKUP_DIR../var/adm/backup/rpmdb etc/sysconfig/backup; then
mv /var/adm/backup/rpmdb/sysconfig[-_]* /var/adm/backup/sysconfig 2>/dev/null
fi
if grep -q "SEND_OUTPUT_ON_NO_ERROR=\"yes\"" etc/sysconfig/cron -a ! -f var/adm/bnc_622203_fixed ; then
if grep -q "SEND_OUTPUT_ON_NO_ERROR=\"yes\"" etc/sysconfig/cron ; then
if test ! -f var/adm/bnc_622203_fixed ; then
sed -e "s|^SEND_OUTPUT_ON_NO_ERROR=\"yes\"|SEND_OUTPUT_ON_NO_ERROR=\"no\"|" \
etc/sysconfig/cron > etc/sysconfig/cron.new \
&& mv etc/sysconfig/cron.new etc/sysconfig/cron
touch var/adm/bnc_622203_fixed
fi
fi
# clear old install settings of MODULES_LOADED_ON_BOOT