Index: debian/univention-nfs-server.univention-config-registry-variables =================================================================== --- debian/univention-nfs-server.univention-config-registry-variables (Revision 0) +++ debian/univention-nfs-server.univention-config-registry-variables (Revision 0) @@ -0,0 +1,6 @@ + [nfs/autostart] + Description[de]=Automatischer Start des NFS-Dienstes beim Systemstart + Description[en]=Automatically start of the NFS-service at system startup + Type=str + Categories=nfs + Index: conffiles/etc/init.d/nfs-kernel-server =================================================================== --- conffiles/etc/init.d/nfs-kernel-server (Revision 27862) +++ conffiles/etc/init.d/nfs-kernel-server (Arbeitskopie) @@ -62,6 +62,11 @@ # See how we were called. case "$1" in start) + # check ucr autostart setting + if [ -f "/usr/share/univention-config-registry/init-autostart.lib" ]; then + source "/usr/share/univention-config-registry/init-autostart.lib" + check_autostart nfs-kernel-server nfs/autostart + fi cd / # daemons should have root dir as cwd if egrep -q '^["]{0,1}/' /etc/exports then