From 0d3c6fb5716331a671544aa56617f908c0164c49 Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Fri, 27 Jul 2012 14:58:53 +0000 Subject: [PATCH] openssh: add ESSENTIAL_PROCESSES This adds an ESSENTIAL_PROCESSES shell variable to /etc/init.d/sshd. The corresponding openwrt patch has the details. Signed-off-by: Ryan Nowakowski SVN-Revision: 32889 --- net/openssh/Makefile | 4 ++-- net/openssh/files/sshd.init | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/net/openssh/Makefile b/net/openssh/Makefile index 331dde823..1b8fcb3c9 100644 --- a/net/openssh/Makefile +++ b/net/openssh/Makefile @@ -1,5 +1,5 @@ # -# Copyright (C) 2006-2011 OpenWrt.org +# Copyright (C) 2006-2012 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=openssh PKG_VERSION:=6.0p1 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/ \ diff --git a/net/openssh/files/sshd.init b/net/openssh/files/sshd.init index ecc44c39e..794543974 100644 --- a/net/openssh/files/sshd.init +++ b/net/openssh/files/sshd.init @@ -3,9 +3,11 @@ START=50 STOP=50 +ESSENTIAL_PROCESSES="ssh sshd" SERVICE_USE_PID=1 + start() { for type in rsa dsa; do { # check for keys -- 2.30.2