summaryrefslogtreecommitdiff
path: root/source/ap/at
diff options
context:
space:
mode:
Diffstat (limited to 'source/ap/at')
-rwxr-xr-xsource/ap/at/at.SlackBuild2
-rw-r--r--source/ap/at/rc.atd4
2 files changed, 3 insertions, 3 deletions
diff --git a/source/ap/at/at.SlackBuild b/source/ap/at/at.SlackBuild
index dac04f7f..032d4f87 100755
--- a/source/ap/at/at.SlackBuild
+++ b/source/ap/at/at.SlackBuild
@@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=at
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-4}
+BUILD=${BUILD:-5}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
diff --git a/source/ap/at/rc.atd b/source/ap/at/rc.atd
index fdc42d70..d9199089 100644
--- a/source/ap/at/rc.atd
+++ b/source/ap/at/rc.atd
@@ -7,7 +7,7 @@ if [ -r /etc/default/atd ]; then
fi
start_atd() {
- if ! /usr/bin/pgrep --ns $$ --exact atd 1> /dev/null 2> /dev/null ; then
+ if ! /usr/bin/pgrep --ns $$ --euid daemon -f "^/usr/sbin/atd" 1> /dev/null 2> /dev/null ; then
echo "Starting atd: /usr/sbin/atd $ATD_OPTS"
/usr/sbin/atd $ATD_OPTS
fi
@@ -15,7 +15,7 @@ start_atd() {
stop_atd() {
echo "Stopping atd."
- /usr/bin/pkill --ns $$ --exact atd 2> /dev/null
+ /usr/bin/pkill --ns $$ --euid daemon -f "^/usr/sbin/atd" 2> /dev/null
}
restart_atd() {