18 lines
463 B
Text
18 lines
463 B
Text
|
#!/bin/sh
|
||
|
|
||
|
ver_old=$2
|
||
|
|
||
|
if [ "$(apk version -t "$ver_old" "1.15-r1")" = '<' ]; then
|
||
|
cat >&2 <<-EOF
|
||
|
*
|
||
|
* ead (Ethernet authentication daemon) has been moved from "iwd" into a
|
||
|
* separate package "ead". If you use it: apk add ead.
|
||
|
*
|
||
|
EOF
|
||
|
fi
|
||
|
|
||
|
if [ -f /etc/iwd/main.conf ]; then
|
||
|
sed -i -e s/enable_network_config=True/EnableNetworkConfiguration=True/ /etc/iwd/main.conf
|
||
|
sed -i -e s/resolve_method=resolvconf/NameResolvingService=resolvconf/ /etc/iwd/main.conf
|
||
|
fi
|