HEX
Server: Apache/2.4.63 (Unix)
System: Linux TOMS-220NAS 4.4.302+ #86009 SMP Wed Nov 26 18:19:17 CST 2025 x86_64
User: flavio87 (1026)
PHP: 8.3.27
Disabled: NONE
Upload Files
File: //usr/syno/lib/systemd/scripts/insertNTB.sh
#!/bin/sh
# Copyright (c) 2000-2020 Synology Inc. All rights reserved.

BIN_GETKEYVALUE="/bin/get_key_value"
SZF_SYNOINFO_DEF="/etc.defaults/synoinfo.conf"
SZK_SUPPORT_XA="support_xa"

support_xa=`$BIN_GETKEYVALUE $SZF_SYNOINFO_DEF $SZK_SUPPORT_XA`
if [ "$support_xa" = "yes" ]; then
	/sbin/modprobe ntb_brd
fi
exit 0