mirror of
https://github.com/AuxXxilium/arc-patches.git
synced 2024-11-23 23:00:55 +07:00
dca8065248
Signed-off-by: AuxXxilium <info@auxxxilium.tech>
40 lines
819 B
Diff
40 lines
819 B
Diff
--- a/linuxrc.syno
|
|
+++ b/linuxrc.syno
|
|
@@ -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}
|
|
@@ -73,6 +75,9 @@
|
|
if [ "$SupportDualhead" = "yes" ]; then
|
|
/etc.defaults/AHAtasks stage_change_end
|
|
fi
|
|
+
|
|
+ /addons/addons.sh jrExit
|
|
+
|
|
UmountRoot
|
|
exit $1
|
|
}
|
|
@@ -154,6 +159,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
|
|
@@ -206,6 +213,8 @@
|
|
fi
|
|
fi
|
|
|
|
+/addons/addons.sh patches
|
|
+
|
|
if [ "$SupportDualhead" = "yes" ]; then
|
|
# Run HA script
|
|
/etc.defaults/AHAtasks check_stage
|