HEX
Server: Apache/2.4.63 (Unix)
System: Linux Synopilou92 4.4.302+ #72806 SMP Mon Jul 21 23:16:00 CST 2025 x86_64
User: pilou92 (1026)
PHP: 8.0.30
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