drwxr-xr-x root/root usr/share/hal/fdi/preprobe/20thirdparty/
drwxr-xr-x root/root var/
drwxr-xr-x root/root var/cache/
-drwxr-xr-x haldaemon/haldaemon var/cache/hald/
+drwxr-xr-x root/root var/cache/hald/
drwxr-xr-x root/root var/lib/
-drwxr-xr-x haldaemon/haldaemon var/lib/hal/
+drwxr-xr-x root/root var/lib/hal/
drwxr-xr-x root/root var/run/
-drwxr-xr-x haldaemon/haldaemon var/run/hald/
+drwxr-xr-x root/root var/run/hald/
drwxr-xr-x root/root var/run/hald/hald-local/
drwxr-xr-x root/root var/run/hald/hald-runner/
e9163df591a6f38f59fdbfe33e73bf20 hal-0.5.14.tar.gz
d8ce27a76d7cb13ce142cdc33816c8bd hal.conf
-cc3d04e7ac09e15f33c530725f43e641 rc.hald
+293f2b3363f6f564e34451710e608952 rc.hald
name=hal
version=0.5.14
-release=1
+release=2
source=(http://hal.freedesktop.org/releases/$name-$version.tar.gz \
hal.conf rc.hald)
rm -rf $PKG/usr/share/gtk-doc
cp $SRC/hal.conf $PKG/usr/etc/dbus-1/system.d/
mkdir -p $PKG/var/lib/hal
- chown haldaemon:haldaemon $PKG/var/lib/hal
}
# /etc/rc.d/hald: start/stop HAL daemon
#
+# fix owner/group permisions
+if ! find /var/lib/hal -user haldaemon -group haldaemon 2>/dev/null; then
+ chown haldaemon:haldaemon $PKG/var/lib/hal
+fi
+
case $1 in
- start)
- /usr/sbin/hald --daemon=yes --use-syslog
- ;;
- stop)
- killall -q /usr/sbin/hald
- ;;
- restart)
- $0 stop
- sleep 2
- $0 start
- ;;
- *)
- echo "Usage: $0 [start|stop|restart]"
- ;;
+ start)
+ /usr/sbin/hald --daemon=yes --use-syslog
+ ;;
+ stop)
+ killall -q /usr/sbin/hald
+ ;;
+ restart)
+ $0 stop
+ sleep 2
+ $0 start
+ ;;
+ *)
+ echo "Usage: $0 [start|stop|restart]"
+ ;;
esac
# End of file