Update oneshot service for eth reset at system start. (AR-1098) (#3965)
This commit is contained in:
parent
06a8a7cb67
commit
8a1be43c87
@ -188,10 +188,10 @@ family_tweaks_bsp() {
|
||||
cp "$SRC/packages/bsp/jethub/${BOARD}/jethub-init" "$destination/usr/lib/armbian/" || exit_with_error "Unable to copy jethub-init"
|
||||
|
||||
|
||||
# AR-1098 userland fix for net interface does not up at boot
|
||||
cp "$SRC/packages/bsp/jethub/jethub-ethreset.service" "$destination/lib/systemd/system/" || exit_with_error "Unable to copy jethub-ethreset.service"
|
||||
cp "$SRC/packages/bsp/jethub/jethub-ethreset" "$destination/usr/lib/armbian/" || exit_with_error "Unable to copy jethub-ethreset"
|
||||
if [[ "$BOARD" == jethubj80 ]]; then
|
||||
# AR-1098 userland fix for net interface does not up at boot
|
||||
cp "$SRC/packages/bsp/jethub/jethubj80/jethub-ethreset.service" "$destination/lib/systemd/system/" || exit_with_error "Unable to copy jethub-ethreset.service"
|
||||
cp "$SRC/packages/bsp/jethub/jethubj80/jethub-ethreset" "$destination/usr/lib/armbian/" || exit_with_error "Unable to copy jethub-ethreset"
|
||||
|
||||
# Ethernet LED setup
|
||||
cp "$SRC/packages/bsp/jethub/$BOARD/05-jethub_set_eth_leds.rules" "$destination/etc/udev/rules.d/"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user