Skip to content
Snippets Groups Projects
Commit 1183e542 authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

fix: list units --all to show all stopped units

parent e0ff1e45
Branches
No related tags found
1 merge request!177fix: list units --all to show all stopped units
......@@ -7,11 +7,12 @@
# 2023-09-05 v1.0 <axel.hahn@unibe.ch>
# 2020-09-06 v1.1 <axel.hahn@unibe.ch> add params -s, -l
# 2020-09-06 v1.2 <axel.hahn@unibe.ch> add param -r to use a regex
# 2020-09-18 v1.3 <axel.hahn@unibe.ch> fix: list units --all to show all stopped units
# ================================================================================
. $( dirname $0 )/inc_pluginfunctions
export self_APPVERSION=1.2
export self_APPVERSION=1.3
# ----------------------------------------------------------------------
# FUNCTIONS
......@@ -62,7 +63,7 @@ EOF
# get the list of units
function _getUnits(){
systemctl --no-legend --no-pager
systemctl --no-legend --no-pager --all
}
# ----------------------------------------------------------------------
......
......@@ -16,7 +16,7 @@ A unit is everything listed by systemctl command - services, timers, targets, ..
______________________________________________________________________
CHECK_SYSTEMDUNIT
v1.2
v1.3
(c) Institute for Medical Education - University of Bern
Licence: GNU GPL 3
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment