mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
ethmactool: dependency changes for devices with no eth0
This commit is contained in:
parent
9f164e9a01
commit
17a9b50be3
@ -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=""
|
||||
|
||||
|
@ -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]
|
||||
|
Loading…
x
Reference in New Issue
Block a user