Browse Source

Merge pull request #12341 from notnyt/acpid-fix

acpid: fix init script
lilik-openwrt-22.03
Rosen Penev 5 years ago
committed by GitHub
parent
commit
35bc19b96e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions
  1. +1
    -1
      utils/acpid/Makefile
  2. +2
    -2
      utils/acpid/files/acpid.init

+ 1
- 1
utils/acpid/Makefile View File

@ -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


+ 2
- 2
utils/acpid/files/acpid.init View File

@ -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"
} }

Loading…
Cancel
Save