mock dependency generator: add support for mock-depends property

This commit is contained in:
Ariadne Conill 2020-07-29 02:14:42 -06:00
parent 37b5c372f3
commit e4c3c4e06e

View file

@ -1,5 +1,7 @@
#!/bin/sh #!/bin/sh
[ -z "$IF_MOCK_DEPENDS" ] && IF_MOCK_DEPENDS="eth0 eth1 eth2 eth3 eth4"
case "$PHASE" in case "$PHASE" in
depend) echo "eth0 eth1 eth2 eth3 eth4" ;; depend) echo "$IF_MOCK_DEPENDS" ;;
esac esac