mirror of
https://github.com/AuxXxilium/arc-addons.git
synced 2024-11-23 21:50:52 +07:00
misc: fix
Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
parent
029b2333fb
commit
acc042745c
@ -186,10 +186,14 @@ elif [ "${1}" = "late" ]; then
|
|||||||
sed -i 's/package/root/g' /var/packages/qemu-ga/conf/privilege
|
sed -i 's/package/root/g' /var/packages/qemu-ga/conf/privilege
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Service
|
# service
|
||||||
SERVICE_PATH="/tmpRoot/usr/lib/systemd/system"
|
SERVICE_PATH="/tmpRoot/usr/lib/systemd/system"
|
||||||
sed -i 's|ExecStart=/|ExecStart=-/|g' ${SERVICE_PATH}/syno-oob-check-status.service ${SERVICE_PATH}/SynoInitEth.service
|
sed -i 's|ExecStart=/|ExecStart=-/|g' ${SERVICE_PATH}/syno-oob-check-status.service ${SERVICE_PATH}/SynoInitEth.service
|
||||||
|
|
||||||
|
# sdcard
|
||||||
|
cp -f /tmpRoot/usr/lib/udev/script/sdcard.sh /tmpRoot/usr/lib/udev/script/sdcard.sh.bak
|
||||||
|
echo -en '#!/bin/sh\nexit 0\n' > /tmpRoot/usr/lib/udev/script/sdcard.sh
|
||||||
|
|
||||||
# Network
|
# Network
|
||||||
rm -vf /tmpRoot/usr/lib/modules-load.d/70-network*.conf
|
rm -vf /tmpRoot/usr/lib/modules-load.d/70-network*.conf
|
||||||
for I in $(seq 0 7); do
|
for I in $(seq 0 7); do
|
||||||
|
Loading…
Reference in New Issue
Block a user