mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 21:24:31 +04:00
acpid: fix init script
init script would error: procd: /etc/rc.d/S99acpid: /etc/rc.common: /etc/rc.d/S99acpid: line 18: procd_send_signal: not found procd: /etc/rc.d/S99acpid: /etc/rc.common: /etc/rc.d/S99acpid: line 19: syntax error: unexpected "}" Signed-off-by: Rob Mosher <nyt-openwrt@countercultured.net>
This commit is contained in:
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=acpid
|
PKG_NAME:=acpid
|
||||||
PKG_VERSION:=2.0.32
|
PKG_VERSION:=2.0.32
|
||||||
PKG_RELEASE:=2
|
PKG_RELEASE:=3
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
||||||
PKG_SOURCE_URL:=@SF/acpid2
|
PKG_SOURCE_URL:=@SF/acpid2
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/ash /etc/rc.common
|
#!/bin/sh /etc/rc.common
|
||||||
# Copyright (C) 2009-2010 OpenWrt.org
|
# Copyright (C) 2009-2010 OpenWrt.org
|
||||||
|
|
||||||
START=99
|
START=99
|
||||||
@@ -14,6 +14,6 @@ start_service() {
|
|||||||
procd_set_param pidfile "/var/run/acpid.pid"
|
procd_set_param pidfile "/var/run/acpid.pid"
|
||||||
}
|
}
|
||||||
|
|
||||||
reload_service()\ {
|
reload_service() {
|
||||||
procd_send_signal "acpid"
|
procd_send_signal "acpid"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user