Skip to content
Permalink
Browse files

Move PINE64 eth config

  • Loading branch information...
NEMS Linux
NEMS Linux committed Feb 12, 2019
1 parent c00f575 commit 53de0675e6600e9f3af42e22e09c527a150db4d9
Showing with 13 additions and 0 deletions.
  1. +13 −0 build/160-pine64
@@ -0,0 +1,13 @@
#!/bin/bash

platform=$(/usr/local/bin/nems-info platform)

if (( $platform >= 40 )) && (( $platform <= 49 )); then

# NIC on Pine64 boards need eth0 to be set to DHCP
# Could probably do this on all boards that use eth0
echo "auto eth0
iface eth0 inet dhcp" > /etc/network/interfaces

fi

0 comments on commit 53de067

Please sign in to comment.
You can’t perform that action at this time.