Fixing custom MACs for DS3622

This commit is contained in:
Fabio Belavenuto 2022-08-05 11:25:57 -03:00
parent 7e86a3a616
commit dfeffcf1a8
23 changed files with 22 additions and 11 deletions

View File

@ -32,7 +32,7 @@ function compile-module {
echo "Platform ${1} not found." echo "Platform ${1} not found."
exit 1 exit 1
fi fi
echo "Compiling module for ${PLATFORM}-${KVER}..." echo -e "Compiling module for \033[7m${PLATFORM}-${KVER}\033[0m..."
cp -R /input /tmp cp -R /input /tmp
export-vars ${PLATFORM} export-vars ${PLATFORM}
make -C "/opt/${PLATFORM}/build" M="/tmp/input" \ make -C "/opt/${PLATFORM}/build" M="/tmp/input" \

View File

@ -6,6 +6,7 @@ synoinfo: &synoinfo
supportssdcache: "no" supportssdcache: "no"
esataportcfg: "0x00" esataportcfg: "0x00"
support_bde_internal_10g: "no" support_bde_internal_10g: "no"
support_oob_ctl: "no"
rss_server: "http://example.com/null.xml" rss_server: "http://example.com/null.xml"
rss_server_ssl: "https://example.com/null.xml" rss_server_ssl: "https://example.com/null.xml"
rss_server_v2: "https://example.com/autoupdate/v2/getList" rss_server_v2: "https://example.com/autoupdate/v2/getList"

View File

@ -1,6 +1,16 @@
--- a/linuxrc.syno.impl 2022-07-13 19:11:36.166689682 -0300 diff -uN a/linuxrc.syno.impl b/linuxrc.syno.impl
+++ b/linuxrc.syno.impl 2022-07-14 10:50:50.616836807 -0300 --- a/linuxrc.syno.impl 2022-08-05 10:50:18.011496401 -0300
@@ -59,6 +59,7 @@ +++ b/linuxrc.syno.impl 2022-08-05 11:20:47.861013234 -0300
@@ -38,6 +38,8 @@
UnknownSynoPartitionMigrationFlag="/.unknown_syno_partition_migrate"
IncompatibleRootDevice="/.incompatible_root_device"
+/addons/addons.sh early
+
UmountRoot()
{
grep "^${RootDevice}" /proc/mounts && /bin/umount -f ${Mnt}
@@ -59,6 +61,7 @@
fi fi
UmountRoot UmountRoot
@ -8,21 +18,21 @@
exit $1 exit $1
} }
@@ -155,6 +156,8 @@ @@ -156,6 +159,8 @@
# insert basic USB modules for detect f401/FDT
echo "Insert basic USB modules..." echo "Insert basic USB modules..."
SYNOLoadModules $USB_MODULES SYNOLoadModules $USB_MODULES
+SYNOLoadModules "usb-storage"
+/addons/addons.sh early
+/addons/addons.sh modules
+
# insert Etron USB3.0 drivers # insert Etron USB3.0 drivers
@@ -208,7 +211,7 @@ if [ $KERNEL_VCODE -ge $(KernelVersionCode "3.10") ]; then
rmmod i2c_core @@ -209,6 +214,8 @@
fi fi
fi fi
-
+/addons/addons.sh patches +/addons/addons.sh patches
+
if [ "$SupportDualhead" = "yes" ]; then if [ "$SupportDualhead" = "yes" ]; then
# Run HA script # Run HA script
/etc.defaults/AHAtasks check_stage /etc.defaults/AHAtasks check_stage