mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-19 14:56:46 +02:00
Add 'want dev-settle' as in 'networking' to wait until all network interfaces have been created by udev (if used at all).
15 lines
208 B
Bash
15 lines
208 B
Bash
#!/sbin/openrc-run
|
|
|
|
depend() {
|
|
before net
|
|
want dev-settle
|
|
keyword -vserver -lxc
|
|
}
|
|
|
|
start() {
|
|
ebegin "Renaming network devices"
|
|
|
|
/usr/sbin/macifrename ${MACIFRENAME_OPTS}
|
|
|
|
eend $?
|
|
}
|