blob: 69c4fa2886dfbe93c572b45a8210e35e4b85bde2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#!/bin/sh
type getcmdline > /dev/null 2>&1 || . /lib/dracut-lib.sh
cm_generate_connections() {
if getargbool 0 rd.neednet; then
mkdir -p "$hookdir"/initqueue/finished
echo '[ -f /tmp/cm.done ]' > "$hookdir"/initqueue/finished/cm.sh
mkdir -p /run/connman/initrd
: > /run/connman/initrd/neednet # activate ConnMan services
fi
}
|