displaylink: run systemctl of the currently running systemd

This commit is contained in:
Florian Klink 2020-05-21 10:35:07 +02:00
parent c7e8ceae0c
commit 5cca485396

View File

@ -5,13 +5,13 @@
start_service()
{
- systemctl start displaylink-driver
+ @systemd@/bin/systemctl start --no-block dlm
+ /run/current-system/systemd/bin/systemctl start --no-block dlm
}
stop_service()
{
- systemctl stop displaylink-driver
+ @systemd@/bin/systemctl stop dlm
+ /run/current-system/systemd/bin/systemctl stop dlm
}
EOF