mirror of
https://github.com/AuxXxilium/arc-addons.git
synced 2024-11-23 21:50:52 +07:00
ledcontrol: fix
Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
parent
f98c3e5e7f
commit
0bffab542f
@ -33,9 +33,7 @@ if [ "${1}" = "late" ]; then
|
||||
DEST="/tmpRoot/usr/lib/systemd/system/ledcontrol.service"
|
||||
cat > ${DEST} <<'EOF'
|
||||
[Unit]
|
||||
Description=NIC Ledcontrol for Ugreen
|
||||
DefaultDependencies=no
|
||||
IgnoreOnIsolate=true
|
||||
Description=Ledcontrol for Ugreen
|
||||
After=multi-user.target
|
||||
|
||||
[Service]
|
||||
@ -49,7 +47,7 @@ EOF
|
||||
mkdir -vp /tmpRoot/usr/lib/systemd/system/multi-user.target.wants
|
||||
ln -vsf /usr/lib/systemd/system/ledcontrol_disk.service /tmpRoot/usr/lib/systemd/system/multi-user.target.wants/ledcontrol_disk.service
|
||||
|
||||
if [ "${1}" = "nothing" ]; then
|
||||
elif [ "${1}" = "nothing" ]; then
|
||||
mkdir -p "/tmpRoot/usr/lib/systemd/system"
|
||||
# NIC
|
||||
DEST="/tmpRoot/usr/lib/systemd/system/ledcontrol.service"
|
||||
|
Loading…
Reference in New Issue
Block a user