Fix armbian-firstrun service not disabled on start.
Fixes: 7b33243c27
Signed-off-by: Viacheslav Bocharov <adeep@lexina.in>
This commit is contained in:
parent
f25fc42e1e
commit
b739dfdf6b
@ -40,7 +40,7 @@ set_fixed_mac ()
|
||||
|
||||
# we use random mac routine only with sytemd-network.
|
||||
if ! grep 'renderer: networkd' /etc/netplan/*.yaml >/dev/null; then
|
||||
exit 0
|
||||
return
|
||||
fi
|
||||
|
||||
local netplan_config_file="/etc/netplan/20-eth-fixed-mac.yaml"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user