feat: add system usb disablement
This commit is contained in:
12
service-files/disable-usb.service
Normal file
12
service-files/disable-usb.service
Normal file
@@ -0,0 +1,12 @@
|
||||
[Unit]
|
||||
Description="Systemec RaspScreen USB-Disablement service"
|
||||
After=systemd-udevd.service
|
||||
Wants=systemd-udevd.service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
WorkingDirectory=/opt/raspscreen
|
||||
ExecStart=/opt/raspscreen/bin/disable-usb.sh
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user