[scripts] only rc-update hald if /etc/init.d/hald exists
This commit is contained in:
parent
51cc880a07
commit
384cc42f5e
@ -14,9 +14,12 @@ rc-update add xdm boot
|
|||||||
# consolekit must be run at boot level
|
# consolekit must be run at boot level
|
||||||
rc-update add consolekit boot
|
rc-update add consolekit boot
|
||||||
|
|
||||||
|
# if it exists
|
||||||
|
if [ -f "/etc/init.d/hald" ]; then
|
||||||
rc-update del hald boot
|
rc-update del hald boot
|
||||||
rc-update del hald
|
rc-update del hald
|
||||||
rc-update add hald boot
|
rc-update add hald boot
|
||||||
|
fi
|
||||||
|
|
||||||
rc-update del music boot
|
rc-update del music boot
|
||||||
rc-update add music default
|
rc-update add music default
|
||||||
|
Loading…
Reference in New Issue
Block a user