From 025c439e829e0db9ac511cd9c1b8d5fd53475ead Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 15 Apr 2024 15:14:46 +0200 Subject: Adding upstream version 1.9.15p5. Signed-off-by: Daniel Baumann --- etc/init.d/aix.sh.in | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 etc/init.d/aix.sh.in (limited to 'etc/init.d/aix.sh.in') diff --git a/etc/init.d/aix.sh.in b/etc/init.d/aix.sh.in new file mode 100644 index 0000000..3d11241 --- /dev/null +++ b/etc/init.d/aix.sh.in @@ -0,0 +1,25 @@ +#!/bin/sh +# +# Simple AIX rc.d script to remove the sudo timestamp directory on boot. +# This is needed because AIX does not have /var/run. +# Install as /etc/rc.d/init.d/sudo with a link /etc/rc.d/rc2.d/S90sudo +# + +PATH=/usr/sbin:/usr/bin:/sbin +export PATH + +TSDIR="@rundir@/ts" +rval=0 + +case "$1" in +start) + echo "Removing the $TSDIR directory" + rm -rf "$TSDIR" + ;; +*) + echo "usage: $0 start" + rval=1 + ;; +esac + +exit $rval -- cgit v1.2.3