misc: fix

Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
AuxXxilium 2024-05-27 19:37:00 +02:00
parent 029b2333fb
commit acc042745c

View File

@ -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