diff options
-rwxr-xr-x | add-syslog | 5 | ||||
-rwxr-xr-x | del-syslog | 4 |
2 files changed, 0 insertions, 9 deletions
@@ -53,13 +53,8 @@ EOF close($fh); # add an entry to default syslog implementation, if installed - if ($release && version->parse($release) < version->parse("2010.1")) { - add_sysklogd_entry($package, $source, $dest, $facility, $min, $max) - if -f '/etc/init.d/syslog'; - } else { add_rsyslog_entry($package, $source, $dest, $facility, $min, $max) if -f '/etc/init.d/rsyslog'; - } } sub add_sysklogd_entry { @@ -22,11 +22,7 @@ EOF my $release = $1; close($fh); - if ($release && version->parse($release) < version->parse("2010.1")) { - del_sysklogd_entry($package); - } else { del_rsyslog_entry($package); - } } sub del_sysklogd_entry { |