File systemd.hal of Package hal
[Unit]
Description=A daemon for managing information about the hardware on the system
After=network.target
[Service]
Type=simple
EnvironmentFile=-/etc/sysconfig/haldaemon
ExecStartPre=/bin/sh -c "if [ ! -d $HALDAEMON_PIDDIR ]; then mkdir -p $HALDAEMON_PIDDIR; mkdir -p $HALDAEMON_PIDDIR/hald-runner $HALDAEMON_PIDDIR/hald-local; chown haldaemon:haldaemon $HALDAEMON_PIDDIR $HALDAEMON_PIDDIR/hald-runner $HALDAEMON_PIDDIR/hald-local; fi"
ExecStart=/usr/sbin/hald $HALDAEMON_PARA
ExecStartPost=/bin/sh -c "if [ -n "$INIT_VERSION" ] ; then rm -rf /media/.hal-mtab*; fi"
[Install]
WantedBy=multi-user.target