More RockPro64 support
This commit is contained in:
parent
be7b49dd68
commit
ce255e4fbb
|
@ -304,9 +304,10 @@ systemctl enable netdata
|
||||||
systemctl enable webssh2
|
systemctl enable webssh2
|
||||||
|
|
||||||
# Disable any old services
|
# Disable any old services
|
||||||
sudo systemctl disable hitch
|
systemctl disable hitch
|
||||||
sudo systemctl disable mongodb
|
systemctl disable mongodb
|
||||||
sudo systemctl disable lnd_admin
|
systemctl disable lnd_admin
|
||||||
|
systemctl disable dhcpcd || true
|
||||||
|
|
||||||
# Reload service settings
|
# Reload service settings
|
||||||
systemctl daemon-reload
|
systemctl daemon-reload
|
||||||
|
|
|
@ -432,8 +432,8 @@ systemctl enable netdata
|
||||||
systemctl enable webssh2
|
systemctl enable webssh2
|
||||||
|
|
||||||
|
|
||||||
# Regenerate MAC Address for Rock64
|
# Regenerate MAC Address for Armbian devices
|
||||||
if [ $IS_ROCK64 = 1 ]; then
|
if [ $IS_ROCK64 = 1 ] || [ $IS_ROCKPRO64 = 1] ; then
|
||||||
. /usr/lib/armbian/armbian-common
|
. /usr/lib/armbian/armbian-common
|
||||||
CONNECTION="$(nmcli -f UUID,ACTIVE,DEVICE,TYPE connection show --active | tail -n1)"
|
CONNECTION="$(nmcli -f UUID,ACTIVE,DEVICE,TYPE connection show --active | tail -n1)"
|
||||||
UUID=$(awk -F" " '/ethernet/ {print $1}' <<< "${CONNECTION}")
|
UUID=$(awk -F" " '/ethernet/ {print $1}' <<< "${CONNECTION}")
|
||||||
|
@ -443,6 +443,9 @@ if [ $IS_ROCK64 = 1 ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
# Disable services
|
||||||
|
sudo systemctl disable hitch
|
||||||
|
|
||||||
|
|
||||||
# Delete junk
|
# Delete junk
|
||||||
rm -rf /home/admin/download
|
rm -rf /home/admin/download
|
||||||
|
|
Loading…
Reference in New Issue
Block a user