From dd91c7ccdf9b1c0d8f6a2c31a2aebb61890d3605 Mon Sep 17 00:00:00 2001 From: "B. Stack" Date: Sat, 11 Feb 2023 22:23:52 -0500 Subject: add /usr/bin/systemctl control logic --- systemctl | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'systemctl') diff --git a/systemctl b/systemctl index 78110a9..93bdcd6 100755 --- a/systemctl +++ b/systemctl @@ -15,6 +15,7 @@ # 2021-10-20 add /bin/systemctl symlink control logic # 2022-07-12 Convert try-restart to restart # 2022-07-14 Add preset, which runs update-rc.d ${service} defaults +# 2023-02-11 Add /usr/bin/systemctl symlink control # Usage: # Should be mostly like systemctl from systemd. # Reference: ftemplate.sh 2019-05-02a ; framework.sh 2018-05-02a @@ -29,7 +30,7 @@ # in some service scripts that look for /bin/systemctl # vim: set sw=3 sts=3 ts=3 et: fiversion="2019-05-02a" -systemctlversion="2022-07-14a" +systemctlversion="2023-02-11a" usage() { ${PAGER:-/usr/bin/less -F} >&2 </dev/null # might fail if /usr/bin is symlink to /bin fi # exit cleanly : -- cgit