From: Vasilis Tsiligiannis Date: Thu, 9 Aug 2012 10:26:05 +0000 (+0000) Subject: [packages] sslh: Fix typo in init script (#11998) X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=0d86c41ebad8a5784a13471dc7fd1e677cd7181b;p=openwrt%2Fsvn-archive%2Farchive.git [packages] sslh: Fix typo in init script (#11998) SVN-Revision: 33073 --- diff --git a/net/sslh/Makefile b/net/sslh/Makefile index 58e90c240f..fd07014ec1 100644 --- a/net/sslh/Makefile +++ b/net/sslh/Makefile @@ -1,5 +1,5 @@ # -# Copyright (C) 2009-2011 OpenWrt.org +# Copyright (C) 2009-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:=sslh PKG_VERSION:=1.10 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://rutschle.net/tech/ diff --git a/net/sslh/files/sslh.init b/net/sslh/files/sslh.init index 5ada97b110..0265656482 100644 --- a/net/sslh/files/sslh.init +++ b/net/sslh/files/sslh.init @@ -1,5 +1,5 @@ #!/bin/sh /etc/rc.common -# Copyright (C) 2009-2011 OpenWrt.org +# Copyright (C) 2009-2012 OpenWrt.org START=95 @@ -10,9 +10,9 @@ start_instance() { local section="$1" # check if section is enabled (default) - local enabled - config_get_bool enabled "${section}" 'enabled' '0' - [ ${enabled} -gt 0 ] || return 1 + local enable + config_get_bool enable "${section}" 'enable' '0' + [ ${enable} -gt 0 ] || return 1 local args="" local val