[packages] sslh: Fix typo in init script (#11998)

git-svn-id: svn://svn.openwrt.org/openwrt/packages@33073 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
acinonyx 2012-08-09 10:26:05 +00:00
parent 59ed02dd8c
commit fe2fb38758
2 changed files with 6 additions and 6 deletions

View File

@ -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. # This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information. # See /LICENSE for more information.
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=sslh PKG_NAME:=sslh
PKG_VERSION:=1.10 PKG_VERSION:=1.10
PKG_RELEASE:=1 PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://rutschle.net/tech/ PKG_SOURCE_URL:=http://rutschle.net/tech/

View File

@ -1,5 +1,5 @@
#!/bin/sh /etc/rc.common #!/bin/sh /etc/rc.common
# Copyright (C) 2009-2011 OpenWrt.org # Copyright (C) 2009-2012 OpenWrt.org
START=95 START=95
@ -10,9 +10,9 @@ start_instance() {
local section="$1" local section="$1"
# check if section is enabled (default) # check if section is enabled (default)
local enabled local enable
config_get_bool enabled "${section}" 'enabled' '0' config_get_bool enable "${section}" 'enable' '0'
[ ${enabled} -gt 0 ] || return 1 [ ${enable} -gt 0 ] || return 1
local args="" local args=""
local val local val