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/nfs-module.sh
#!/bin/bash
# Copyright (c) 2000-2018 Synology Inc. All rights reserved.

case $1 in
	start)
		modprobe rpcsec_gss_krb5
		modprobe nfsd
	;;

	stop-post)
		# remove modules only nfsd depends
		modprobe -r rpcsec_gss_krb5
		modprobe -r nfsd
	;;

	*)
		echo "Usages: $0 [start|stop-post]"
	;;
esac