golden hour
/usr/lib/dracut/modules.d/35connman
⬆️ Go Up
Upload
File/Folder
Size
Actions
cm-config.sh
742 B
Del
OK
cm-initrd.service
602 B
Del
OK
cm-lib.sh
368 B
Del
OK
cm-run.sh
384 B
Del
OK
cm-wait-online-initrd.service
340 B
Del
OK
module-setup.sh
1.2 KB
Del
OK
netroot.sh
2.77 KB
Del
OK
Edit: cm-run.sh
#!/usr/bin/bash type source_hook > /dev/null 2>&1 || . /lib/dracut-lib.sh if [ -e /tmp/cm.done ]; then return fi while read -r _serv; do ifname=$(connmanctl services "$_serv" | grep Interface= | sed 's/^.*Interface=\([^,]*\).*$/\1/') source_hook initqueue/online "$ifname" /sbin/netroot "$ifname" done < <(connmanctl services | grep -oE '[^ ]+$') : > /tmp/cm.done
Save