mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-12-24 13:38:11 +00:00
Debian is now detected as 64-bit
This commit is contained in:
parent
947e217e08
commit
9b2b0c345c
2
rootfs/debian/etc/apparmor.d/local/system_tor
Normal file
2
rootfs/debian/etc/apparmor.d/local/system_tor
Normal file
|
@ -0,0 +1,2 @@
|
|||
/etc/torrc.d/ r,
|
||||
/etc/torrc.d/** r,
|
|
@ -14,7 +14,7 @@ IS_32_BIT=0
|
|||
IS_64_BIT=0
|
||||
DEVICE_TYPE="unknown"
|
||||
MODEL=$(tr -d '\0' < /proc/device-tree/model) || MODEL="unknown"
|
||||
uname -a | grep amd64 && IS_X86=1 || true
|
||||
uname -a | grep amd64 && IS_X86=1 && IS_64_BIT=1 || true
|
||||
if [[ $MODEL == *"Rock64"* ]]; then
|
||||
IS_ARMBIAN=1
|
||||
IS_ROCK64=1
|
||||
|
|
|
@ -29,7 +29,7 @@ IS_64_BIT=0
|
|||
IS_UNKNOWN=0
|
||||
DEVICE_TYPE="unknown"
|
||||
MODEL=$(cat /proc/device-tree/model) || IS_UNKNOWN=1
|
||||
uname -a | grep amd64 && IS_X86=1 && IS_UNKNOWN=0 || true
|
||||
uname -a | grep amd64 && IS_X86=1 && IS_64_BIT=1 && IS_UNKNOWN=0 || true
|
||||
if [[ $MODEL == *"Rock64"* ]]; then
|
||||
IS_ARMBIAN=1
|
||||
IS_ROCK64=1
|
||||
|
@ -918,13 +918,6 @@ touch /home/bitcoin/.mynode/install_dojo
|
|||
# SKIPPING WARDEN - OPTIONAL APP
|
||||
|
||||
|
||||
# Mark dynamic applications as defalt application
|
||||
# ...
|
||||
|
||||
# Upgrade Dyanmic Applications
|
||||
mynode-manage-apps upgrade
|
||||
|
||||
|
||||
# Make sure we are using legacy iptables
|
||||
update-alternatives --set iptables /usr/sbin/iptables-legacy || true
|
||||
update-alternatives --set ip6tables /usr/sbin/ip6tables-legacy || true
|
||||
|
@ -939,6 +932,13 @@ sync
|
|||
sleep 1
|
||||
|
||||
|
||||
# Mark dynamic applications as defalt application
|
||||
# ... (none yet)
|
||||
|
||||
# Upgrade Dyanmic Applications (must be done after file installation)
|
||||
# mynode-manage-apps upgrade # not yet working during setup process
|
||||
|
||||
|
||||
# Enable fan control
|
||||
if [ $IS_ROCKPRO64 = 1 ]; then
|
||||
systemctl enable fan_control
|
||||
|
|
Loading…
Reference in New Issue
Block a user