mirror of
https://github.com/AuxXxilium/arc-addons.git
synced 2024-11-23 21:50:52 +07:00
ledcontrol: simplify
Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
parent
991fd6a0a5
commit
31807a861c
@ -33,16 +33,12 @@ if [ "${1}" = "late" ]; then
|
||||
DEST="/tmpRoot/usr/lib/systemd/system/ledcontrol.service"
|
||||
cat << EOF > ${DEST}
|
||||
[Unit]
|
||||
Description=Ledcontrol for Ugreen
|
||||
DefaultDependencies=no
|
||||
IgnoreOnIsolate=true
|
||||
Description=Adds uGreen LED control
|
||||
After=multi-user.target
|
||||
|
||||
[Service]
|
||||
User=root
|
||||
Type=simple
|
||||
Restart=on-failure
|
||||
RestartSec=10s
|
||||
Type=oneshot
|
||||
RemainAfterExit=yes
|
||||
ExecStart=/usr/bin/ledcontrol.sh
|
||||
|
||||
[Install]
|
||||
|
Loading…
Reference in New Issue
Block a user