2023-09-05 00:30:37 +07:00
|
|
|
--- a/linuxrc.syno.impl
|
|
|
|
+++ b/linuxrc.syno.impl
|
|
|
|
@@ -51,6 +51,8 @@
|
|
|
|
UnknownSynoPartitionMigrationFlag="/.unknown_syno_partition_migrate"
|
|
|
|
IncompatibleRootDevice="/.incompatible_root_device"
|
|
|
|
|
|
|
|
+/addons/addons.sh early
|
|
|
|
+
|
|
|
|
UmountRoot()
|
|
|
|
{
|
|
|
|
grep "^${RootDevice}" /proc/mounts && /bin/umount -f ${Mnt}
|
|
|
|
@@ -67,6 +69,7 @@
|
|
|
|
# show date for login info
|
|
|
|
date
|
|
|
|
|
|
|
|
+ /addons/addons.sh jrExit
|
|
|
|
UmountRoot
|
|
|
|
|
|
|
|
exit $1
|
|
|
|
@@ -176,6 +179,8 @@
|
|
|
|
echo "Insert basic USB modules..."
|
|
|
|
SYNOLoadModules $USB_MODULES
|
|
|
|
+
|
|
|
|
+/addons/addons.sh modules
|
|
|
|
|
|
|
|
# insert Etron USB3.0 drivers
|
|
|
|
|
|
|
|
if [ $KERNEL_VCODE -ge "$(KernelVersionCode "3.10")" ]; then
|
|
|
|
@@ -224,6 +229,7 @@
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
+/addons/addons.sh patches
|
|
|
|
LoadBrmModules
|
|
|
|
|
2023-09-17 16:52:41 +07:00
|
|
|
####################################################
|