From 137c08b5d8351d55f2c48df45a2c7817369923ec Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sat, 30 Jan 2010 18:12:57 +0000 Subject: [PATCH] stop nfsd and sshd on reboot (thx, puchu) SVN-Revision: 19426 --- net/nfs-kernel-server/files/nfsd.init | 2 ++ net/nfs-server/files/nfsd.init | 1 + net/openssh/files/sshd.init | 1 + 3 files changed, 4 insertions(+) diff --git a/net/nfs-kernel-server/files/nfsd.init b/net/nfs-kernel-server/files/nfsd.init index 6d9ebfc9f..11db03d4d 100644 --- a/net/nfs-kernel-server/files/nfsd.init +++ b/net/nfs-kernel-server/files/nfsd.init @@ -2,6 +2,8 @@ # Copyright (C) 2006 OpenWrt.org START=60 +STOP=60 + NFS_D=/var/lib/nfs LOCK_D=/var/lib/nfs/sm diff --git a/net/nfs-server/files/nfsd.init b/net/nfs-server/files/nfsd.init index 00b5edef4..183441c55 100644 --- a/net/nfs-server/files/nfsd.init +++ b/net/nfs-server/files/nfsd.init @@ -1,6 +1,7 @@ #!/bin/sh /etc/rc.common # Copyright (C) 2006 OpenWrt.org START=50 +STOP=50 start() { /usr/sbin/portmap diff --git a/net/openssh/files/sshd.init b/net/openssh/files/sshd.init index a616306be..d1a7536fe 100644 --- a/net/openssh/files/sshd.init +++ b/net/openssh/files/sshd.init @@ -1,6 +1,7 @@ #!/bin/sh /etc/rc.common # Copyright (C) 2006 OpenWrt.org START=50 +STOP=50 start() { for type in rsa dsa; do { -- 2.30.2