ethmactool: dependency changes for devices with no eth0

This commit is contained in:
Christian Hewitt 2021-09-05 03:34:52 +00:00
parent 9f164e9a01
commit 17a9b50be3
2 changed files with 8 additions and 2 deletions

View File

@ -3,6 +3,13 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
case $DTNAME in
radxa,zero)
echo "Skipping configuration, eth0 not detected"
exit 0
;;
esac
COMPATIBLE=$(/usr/bin/dtsoc)
MAC_STEP=""

View File

@ -1,7 +1,6 @@
[Unit]
Description=Configure eth0 MAC address
BindsTo=sys-subsystem-net-devices-eth0.device
After=sys-subsystem-net-devices-eth0.device
Requisite=sys-subsystem-net-devices-eth0.device
Before=connman.service
[Service]