[packages] monit: fix init script

git-svn-id: svn://svn.openwrt.org/openwrt/packages@36484 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
luka 2013-04-28 22:22:25 +00:00
parent 37116eddba
commit c5a96ca3fd
2 changed files with 3 additions and 3 deletions

View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=monit
PKG_VERSION:=5.5
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://mmonit.com/monit/dist

View File

@ -1,5 +1,5 @@
#!/bin/sh /etc/rc.common
# Copyright (C) 2006-2012 OpenWrt.org
# Copyright (C) 2006-2013 OpenWrt.org
START=60
@ -7,7 +7,7 @@ SERVICE_USE_PID=1
start() {
[ -f /etc/monitrc ] || return 1
#chmod 0700 /etc/monitrc
chmod 0600 /etc/monitrc
service_start /usr/bin/monit
}