[packages] syslog-ng: fix config file location in init script (#10908)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@30317 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
444b6457b9
commit
4451643a36
@ -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:=syslog-ng
|
||||
PKG_VERSION:=1.6.12
|
||||
PKG_RELEASE:=3
|
||||
PKG_RELEASE:=4
|
||||
PKG_MD5SUM:=a3cbfdb6e1e5beea181a7349749719f3
|
||||
|
||||
PKG_SOURCE_URL:= \
|
||||
|
@ -6,7 +6,7 @@ START=50
|
||||
SERVICE_USE_PID=1
|
||||
|
||||
start() {
|
||||
[ -f /etc/syslog-ng.conf ] || return 1
|
||||
[ -f /etc/syslog-ng/syslog-ng.conf ] || return 1
|
||||
service_start /usr/sbin/syslog-ng
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user