aboutsummaryrefslogtreecommitdiffstats
path: root/get-free-syslog-facility
diff options
context:
space:
mode:
Diffstat (limited to 'get-free-syslog-facility')
-rwxr-xr-xget-free-syslog-facility12
1 files changed, 0 insertions, 12 deletions
diff --git a/get-free-syslog-facility b/get-free-syslog-facility
deleted file mode 100755
index 4bbdba1..0000000
--- a/get-free-syslog-facility
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/sh
-# $Id$
-# helper script for rpm scriptlets to get a free syslog local facility
-
-if [ -f /etc/syslog.conf ]; then
- for (( i=0; i <= 7; i++ )); do
- if ! grep -q "^local$i" /etc/syslog.conf; then
- echo "local$i"
- break
- fi
- done
-fi