Browse Source

* changed pbbuttonsd to use a SID file instead of pbbuttonsd.init

git-svn-id: svn://svn.opensde.net/opensde/package/branches/sid@20146 10447126-35f2-4685-b0cf-6dd780d3921f
user/amery/sid
Alejandro Mery 18 years ago
parent
commit
4d8764d742
  1. 33
      powerpc/pbbuttonsd/pbbuttonsd.init
  2. 22
      powerpc/pbbuttonsd/pbbuttonsd.sid

33
powerpc/pbbuttonsd/pbbuttonsd.init

@ -1,33 +0,0 @@
#!/bin/sh
#
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../pbbuttonsd/pbbuttonsd.init
# Copyright (C) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2003 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: laptop special feature deamon
# Runlevel: 85 rcX rc2 rc3 rc4 rc5
#
main_begin
block_begin(start, `Starting pbbuttonsd.')
check(`D_prefix/bin/pbbuttonsd -d')
block_end
block_begin(stop, `Stopping pbbuttonsd.')
check(`killall -15 D_prefix/bin/pbbuttonsd')
block_end
main_end

22
powerpc/pbbuttonsd/pbbuttonsd.sid

@ -0,0 +1,22 @@
; --- SDE-COPYRIGHT-NOTE-BEGIN ---
; This copyright note is auto-generated by ./scripts/Create-CopyPatch.
;
; Filename: package/.../pbbuttonsd/pbbuttonsd.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]
type=daemon
desc=laptop special feature deamon
prio=85
runlevel=2 3 4 5
run=D_bindir/pbbuttonsd
runmode=opt
runbgopt=-d
Loading…
Cancel
Save