Browse Source

Andreas V. Meier:


			
			
				rocklinux
			
			
		
Andreas V. 'netrunner' Meier 19 years ago
parent
commit
1fc0bf8300
4 changed files with 66 additions and 0 deletions
  1. +6
    -0
      package/avm/hal/hal.conf
  2. +41
    -0
      package/avm/hal/hal.desc
  3. +15
    -0
      package/avm/hal/hal.init
  4. +4
    -0
      package/avm/hal/postsysfiles.in

+ 6
- 0
package/avm/hal/hal.conf

@ -0,0 +1,6 @@
var_append confopt " " "--enable-pcmcia-support"
var_append confopt " " "--enable-verbose-mode"
var_append confopt " " "--enable-fstab-sync"
install_init hal $confdir/hal.init
hook_add postmake 3 'echo RUN+="/usr/libexec/hal.hotplug" > /etc/udev/rules.d/01-hal.rules'

+ 41
- 0
package/avm/hal/hal.desc

@ -0,0 +1,41 @@
[COPY] --- ROCK-COPYRIGHT-NOTE-BEGIN ---
[COPY]
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
[COPY] Please add additional copyright information _after_ the line containing
[COPY] the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
[COPY] the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
[COPY]
[COPY] ROCK Linux: rock-src/package/avm/hal/hal.desc
[COPY] ROCK Linux is Copyright (C) 1998 - 2005 Clifford Wolf
[COPY]
[COPY] This program is free software; you can redistribute it and/or modify
[COPY] it under the terms of the GNU General Public License as published by
[COPY] the Free Software Foundation; either version 2 of the License, or
[COPY] (at your option) any later version. A copy of the GNU General Public
[COPY] License can be found at Documentation/COPYING.
[COPY]
[COPY] Many people helped and are helping developing ROCK Linux. Please
[COPY] have a look at http://www.rocklinux.org/ and the Documentation/TEAM
[COPY] file for details.
[COPY]
[COPY] --- ROCK-COPYRIGHT-NOTE-END ---
[I] Hardware Abstraction Layer
[T] This daemon actively monitores hardware for changes.
[U] http://freedesktop.org/wiki/Software_2fhal
[A] Various Authors
[M] Andreas V. 'netrunner' Meier <avmeier@web.de>
[C] extra/configuration
[L] GPL
[S] Beta
[V] 0.5.4
[P] X -----5---9 800.000
[D] 0 hal-0.5.4.tar.gz http://freedesktop.org/~david/dist/

+ 15
- 0
package/avm/hal/hal.init

@ -0,0 +1,15 @@
# Desc: Hardware Abstraction Layer Daemon
# Runlevel: 61 rcX
main_begin
block_begin(start, `Setting up Hardware Abstraction Layer.')
check(`export PATH=D_prefix/libexec:$PATH')
check(`D_prefix/sbin/hald --daemon=yes --retain-privileges')
block_end
block_begin(stop, `Shutting down Hardware Abstraction Layer.')
check(`D_prefix/bin/killall D_prefix/sbin/hald')
block_end
main_end

+ 4
- 0
package/avm/hal/postsysfiles.in

@ -0,0 +1,4 @@
safe_groupadd haldaemon 29
safe_useradd haldaemon 29 29 "HAL-Daemon" / /bin/false "*"

Loading…
Cancel
Save