diff options
author | Simon Biewald <simon@fam-biewald.de> | 2020-08-11 00:09:50 +0300 |
---|---|---|
committer | Simon Biewald <simon@fam-biewald.de> | 2020-10-26 00:51:12 +0300 |
commit | 25278b6b38138e0ec4247d0f248053560304e23b (patch) | |
tree | c15c2c8408616aa85abddab401718227267f4450 /include/binaries | |
parent | 7df0b8618b5cce39961b245a3c582af4294276d7 (diff) |
Add support for Solaris services, run BOOT-5184 there
The Solaris IPS service manager (svcs) is now detected, and services
managed with it are enumerated.
Test BOOT-5184 now runs on Solaris, too, as SysV init scripts are
supported as well, even with IPS. SysV Init has been the traditional
init system on Solaris.
Diffstat (limited to 'include/binaries')
-rw-r--r-- | include/binaries | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/binaries b/include/binaries index ae2c2824..b7c7d7e9 100644 --- a/include/binaries +++ b/include/binaries @@ -286,6 +286,7 @@ ssh-keyscan) SSHKEYSCANBINARY="${BINARY}"; LogText " Found known binary: ssh-keyscan (scanner for SSH keys) - ${BINARY}" ;; suricata) SURICATABINARY="${BINARY}"; LogText " Found known binary: suricata (IDS) - ${BINARY}" ;; swapon) SWAPONBINARY="${BINARY}"; LogText " Found known binary: swapon (swap device tool) - ${BINARY}" ;; + svcs) SVCSBINARY="${BINARY}" ; LogText " Found known binary: svcs (service manager) - ${BINARY}" ;; swupd) SWUPDBINARY="${BINARY}"; LogText " Found known binary: swupd (package manager) - ${BINARY}" ;; sysctl) SYSCTLBINARY="${BINARY}"; LogText " Found known binary: sysctl (kernel parameters) - ${BINARY}" ;; syslog-ng) SYSLOGNGBINARY="${BINARY}"; SYSLOGNGVERSION=$(${BINARY} -V 2>&1 | grep "^syslog-ng" | awk '{ print $2 }'); LogText "Found ${BINARY} (version ${SYSLOGNGVERSION})" ;; |