git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
path: root/usr/local/bin
diff options
context:
space:
mode:
authorH. P. <harald.p.@xmart.de> 2018-07-05 21:04:33 +0200
committerH. P. <harald.p.@xmart.de> 2018-07-05 21:04:33 +0200
commit6b9fea0f6966b4816fe5016493666d3e53fea08d (patch)
treec6af4dd57d06f58d7339c8e9df97e154eee9ecc2 /usr/local/bin
parent9718a84ffb3304324e058bd249217dcd56a209e4 (diff)
downloadsystemd-units-6b9fea0f6966b4816fe5016493666d3e53fea08d.tar.bz2
Unification of scripts, move to sbin
Diffstat (limited to 'usr/local/bin')
-rwxr-xr-xusr/local/bin/freshclam-die16
-rwxr-xr-xusr/local/bin/freshclam-start3
2 files changed, 0 insertions, 19 deletions
diff --git a/usr/local/bin/freshclam-die b/usr/local/bin/freshclam-die
deleted file mode 100755
index 0cd3e4b..0000000
--- a/usr/local/bin/freshclam-die
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/sh
-
-FCPIDF="/run/freshclam/freshclam.pid"
-
-[ ! -e "$FCPIDF" ]&&exit 1
-FCPID="$(cat "$FCPIDF")"
-[ -z "$FCPID" ]&&exit 2
-ps -p "$FCPID" >/dev/null 2>&1
-[ "$?" -ne 0 ]&&exit 3
-kill "$FCPID" >/dev/null 2>&1
-sleep 1
-ps -p "$FCPID" >/dev/null 2>&1||exit 0
-sleep 10
-kill -9 "$FCPID" >/dev/null 2>&1
-sleep 2
-ps -p "$FCPID" >/dev/null 2>&1&&exit 4||exit 0
diff --git a/usr/local/bin/freshclam-start b/usr/local/bin/freshclam-start
deleted file mode 100755
index e8096d2..0000000
--- a/usr/local/bin/freshclam-start
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-/usr/bin/freshclam --daemon --checks=4 --pid="/run/freshclam/freshclam.pid"