aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xadd-syslog5
-rwxr-xr-xdel-syslog4
2 files changed, 0 insertions, 9 deletions
diff --git a/add-syslog b/add-syslog
index 7fc1836..c15bc8d 100755
--- a/add-syslog
+++ b/add-syslog
@@ -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 {
diff --git a/del-syslog b/del-syslog
index 5dea667..c280216 100755
--- a/del-syslog
+++ b/del-syslog
@@ -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 {