misc: update

Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
AuxXxilium 2024-06-15 10:52:59 +02:00
parent b007c12b16
commit 4d4c1d2fb0

View File

@ -188,13 +188,13 @@ elif [ "${1}" = "late" ]; then
# service
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 ${SERVICE_PATH}/syno_update_disk_logs.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
for I in $(seq 0 7); do
if [ -f "/etc/sysconfig/network-scripts/ifcfg-eth${I}" ] && [ ! -f "/tmpRoot/etc.defaults/sysconfig/network-scripts/ifcfg-eth${I}" ]; then
@ -205,7 +205,7 @@ elif [ "${1}" = "late" ]; then
# packages
if [ ! -f /tmpRoot/usr/syno/etc/packages/feeds ]; then
mkdir -p /tmpRoot/usr/syno/etc/packages
echo '[{"feed":"https://spk7.imnks.com/","name":"imnks"},{"feed":"https://packages.synocommunity.com","name":"synocommunity"}]' >/tmpRoot/usr/syno/etc/packages/feeds
echo '[{"feed":"https://spk7.imnks.com","name":"imnks"},{"feed":"https://packages.synocommunity.com","name":"synocommunity"}]' >/tmpRoot/usr/syno/etc/packages/feeds
fi
# syslog-ng