From: nbd Date: Sat, 30 Jan 2010 18:12:57 +0000 (+0000) Subject: stop nfsd and sshd on reboot (thx, puchu) X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=c20d2de22ee193263f5d7975b11271176e0d9e3e;p=packages.git stop nfsd and sshd on reboot (thx, puchu) git-svn-id: svn://svn.openwrt.org/openwrt/packages@19426 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- 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 {