From 9ee4fc4fde61e70d6969619279e3d87e1832c490 Mon Sep 17 00:00:00 2001 From: Evgeny Zinoviev Date: Thu, 15 Feb 2024 14:02:46 +0300 Subject: fix tools/ipcam_capture_restart_all.sh --- tools/ipcam_capture_restart_all.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/ipcam_capture_restart_all.sh b/tools/ipcam_capture_restart_all.sh index 3eefbec..e4c1192 100755 --- a/tools/ipcam_capture_restart_all.sh +++ b/tools/ipcam_capture_restart_all.sh @@ -1,4 +1,4 @@ #!/bin/sh -for service in $(systemctl list-units --type service | grep ipcam_capture | awk '{print $1}'); do +for service in $(systemctl list-units --type service --plain --no-legend | grep ipcam_capture | awk '{print $1}'); do systemctl restart $service done -- cgit v1.2.3