hal: Run as haldaemon, not root.
This commit is contained in:
parent
1426208647
commit
a27500f768
@ -1,3 +1,3 @@
|
|||||||
750cf074e88b6fb7012f26d99cd39b9b hal-0.5.11.tar.gz
|
750cf074e88b6fb7012f26d99cd39b9b hal-0.5.11.tar.gz
|
||||||
7cb56ce5687fa8dcdc870821844240eb hal.conf
|
7cb56ce5687fa8dcdc870821844240eb hal.conf
|
||||||
cc3d04e7ac09e15f33c530725f43e641 rc.hald
|
d16e51644aef3590445eb69c3e1214a9 rc.hald
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
name=hal
|
name=hal
|
||||||
version=0.5.11
|
version=0.5.11
|
||||||
release=3
|
release=4
|
||||||
source=(http://hal.freedesktop.org/releases/$name-$version.tar.gz \
|
source=(http://hal.freedesktop.org/releases/$name-$version.tar.gz \
|
||||||
hal.conf
|
hal.conf
|
||||||
rc.hald)
|
rc.hald)
|
||||||
|
@ -5,7 +5,8 @@
|
|||||||
|
|
||||||
case $1 in
|
case $1 in
|
||||||
start)
|
start)
|
||||||
/usr/sbin/hald --daemon=yes --use-syslog
|
# Run as haldaemon, not root.
|
||||||
|
su haldaemon -s /bin/sh -c '/usr/sbin/hald --daemon=yes --use-syslog'
|
||||||
;;
|
;;
|
||||||
stop)
|
stop)
|
||||||
killall -q /usr/sbin/hald
|
killall -q /usr/sbin/hald
|
||||||
|
Loading…
x
Reference in New Issue
Block a user