Browse Source

* changed apcid to use a SID file instead of acpid.init

git-svn-id: svn://svn.opensde.net/opensde/package/branches/sid@20152 10447126-35f2-4685-b0cf-6dd780d3921f
user/amery/sid
Alejandro Mery 18 years ago
parent
commit
59467c0099
  1. 33
      x86/acpid/acpid.init
  2. 19
      x86/acpid/acpid.sid

33
x86/acpid/acpid.init

@ -1,33 +0,0 @@
#!/bin/sh
#
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../acpid/acpid.init
# Copyright (C) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2004 Clifford Wolf
#
# More information can be found in the files COPYING and README.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END ---
#
# Desc: ACPI event daemon
#
# Runlevel: 25 rcX
#
main_begin
block_begin(start, `Starting acpid.')
check(`D_sbindir/acpid')
block_end
block_begin(stop, `Stopping acpid.')
check(`killall -15 D_sbindir/acpid')
block_end
main_end

19
x86/acpid/acpid.sid

@ -0,0 +1,19 @@
; --- SDE-COPYRIGHT-NOTE-BEGIN ---
; This copyright note is auto-generated by ./scripts/Create-CopyPatch.
;
; Filename: package/.../acpid/acpid.sid
; Copyright (C) 2007 The OpenSDE Project
;
; More information can be found in the files COPYING and README.
;
; This program is free software; you can redistribute it and/or modify
; it under the terms of the GNU General Public License as published by
; the Free Software Foundation; version 2 of the License. A copy of the
; GNU General Public License can be found in the file COPYING.
; --- SDE-COPYRIGHT-NOTE-END ---
[general]
desc=ACPI event daemon
prio=25
run=D_sbindir/acpid
runmode=bg
Loading…
Cancel
Save