arc-patches/ramdisk-disable-disabled-ports-42661.patch
AuxXxilium dca8065248 add linux live patch function
Signed-off-by: AuxXxilium <info@auxxxilium.tech>
2023-09-17 11:52:41 +02:00

12 lines
387 B
Diff

--- a/usr/syno/web/webman/get_state.cgi
+++ b/usr/syno/web/webman/get_state.cgi
@@ -1,7 +1,7 @@
#!/bin/sh
PATH="$PATH:/bin:/sbin:/usr/bin:/usr/sbin"
-DisabledPortDisks="$(/usr/syno/bin/synodiskport -portthawlist)"
+DisabledPortDisks=""
partition="$(/usr/syno/bin/synodiskport -installable_disk_list)"
upnpmodelname="$(/bin/get_key_value /etc.defaults/synoinfo.conf upnpmodelname)"