fix(network): wrong test of wicked unit
The test for the wicked service is never met because it does not have execute permission.master
parent
e86397de24
commit
22e683077a
|
@ -17,7 +17,7 @@ depends() {
|
|||
done
|
||||
|
||||
if [ -z "$network_handler" ]; then
|
||||
if [[ -x $dracutsysrootdir$systemdsystemunitdir/wicked.service ]]; then
|
||||
if [[ -e $dracutsysrootdir$systemdsystemunitdir/wicked.service ]]; then
|
||||
network_handler="network-wicked"
|
||||
elif [[ -x $dracutsysrootdir/usr/libexec/nm-initrd-generator ]] || [[ -x $dracutsysrootdir/usr/lib/nm-initrd-generator ]]; then
|
||||
network_handler="network-manager"
|
||||
|
|
Loading…
Reference in New Issue