From 9119a233dc67fea8abea0156a653a508a0a3e082 Mon Sep 17 00:00:00 2001 From: "B. Stack" Date: Fri, 15 Jul 2022 08:16:03 -0400 Subject: v0.0.4 add action preset --- systemctl | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'systemctl') diff --git a/systemctl b/systemctl index 5d1d578..78110a9 100755 --- a/systemctl +++ b/systemctl @@ -14,12 +14,12 @@ # 2021-01-10 adapted for inclusion in devuan-sanity # 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 # Usage: # Should be mostly like systemctl from systemd. # Reference: ftemplate.sh 2019-05-02a ; framework.sh 2018-05-02a # man 1 systemctl # Improve: -# add preset command # Return 1 if status output is failed # Dependencies: # req-devuan: moreutils @@ -29,7 +29,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-12a" +systemctlversion="2022-07-14a" usage() { ${PAGER:-/usr/bin/less -F} >&2 <