File tree 3 files changed +19
-7
lines changed
3 files changed +19
-7
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ if service_manager.contains('systemd')
57
57
)
58
58
59
59
install_data (
60
- ' systemd /iptsd-find-service' ,
60
+ ' scripts /iptsd-find-service' ,
61
61
install_dir : bindir,
62
62
install_mode : ' rwxr-xr-x' ,
63
63
)
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ # SPDX-License-Identifier: GPL-2.0-or-later
3
+
4
+ set -euo pipefail
5
+
6
+ # shellcheck disable=SC2016
7
+ function run-iptsd-find-service() {
8
+ local -r script_dir=" $( dirname " $( realpath " ${BASH_SOURCE[0]} " ) " ) "
9
+
10
+ source " ${script_dir} /iptsd-foreach"
11
+
12
+ spdlog warn " iptsd-find-service is deprecated, please use iptsd-systemd"
13
+ run-iptsd-foreach -t touchscreen -i 0 -- echo ' iptsd@$(systemd-escape --path "{}").service'
14
+ }
15
+
16
+ if [ " ${BASH_SOURCE[0]} " = " ${0} " ]; then
17
+ run-iptsd-find-service " $@ "
18
+ fi
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments