summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2015-05-06 13:30:22 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2015-05-06 13:30:22 -0500
commit55de025028fe3aa57c226d8fc82ee4cbeae56ec7 (patch)
tree036f67b28e3aa44165a5273202a79e9ef582d52b
parent5483d58212e6f72e1c862904ea46926705560dde (diff)
downloadabslibre-55de025028fe3aa57c226d8fc82ee4cbeae56ec7.tar.gz
abslibre-55de025028fe3aa57c226d8fc82ee4cbeae56ec7.tar.bz2
abslibre-55de025028fe3aa57c226d8fc82ee4cbeae56ec7.zip
Removing psad-sysvinit.archlinux file
-rw-r--r--pcr/psad/psad-sysvinit.archlinux52
1 files changed, 0 insertions, 52 deletions
diff --git a/pcr/psad/psad-sysvinit.archlinux b/pcr/psad/psad-sysvinit.archlinux
deleted file mode 100644
index 6b4e76042..000000000
--- a/pcr/psad/psad-sysvinit.archlinux
+++ /dev/null
@@ -1,52 +0,0 @@
-#!/bin/bash
-#
-# Startup script for psad
-#
-# chkconfig: 345 99 05
-# description: The Port Scan Attack Detector (psad)
-# processname: psad
-# pidfile: /var/run/psad.pid
-# config: /etc/psad/psad.conf
-#
-# $Id: psad-init.archlinux
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-. /etc/conf.d/sshd
-
-PID=`cat /var/run/psad.pid`
-# See how we were called.
-case "$1" in
-start)
- stat_busy "Starting psad"
- [ -z "$PID" ] && /usr/sbin/psad
- if [ $? -gt 0 ]; then
- stat_fail
- else
- #let psad take care of the pid; we don't need to
- add_daemon psad
- stat_done
- fi
- ;;
-stop)
- stat_busy "Stopping psad"
- /usr/sbin/psad --Kill
- if [ $? -gt 0 ]; then
- stat_fail
- else
- #let psad take care of the pid; we don't need to
- rm_daemon psad
- stat_done
- fi
- ;;
-status)
- /usr/sbin/psad --Status
- ;;
-restart)
- $0 stop
- $0 start
- ;;
-*)
- echo "Usage: psad {start|stop|status|restart}"
- exit 1
-esac