Skip to content

Commit

Permalink
v6.10
Browse files Browse the repository at this point in the history
+ Serial required for debugging NanoPC T4: https://github.com/Fourdee/DietPi/issues/1829
  • Loading branch information
Daniel (Fourdee) committed Jun 19, 2018
1 parent fcd9346 commit 3a11ad4
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion PREP_SYSTEM_FOR_DIETPI.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1167,7 +1167,13 @@ _EOF_

/DietPi/dietpi/func/dietpi-set_hardware serialconsole enable
# - Disable for post-1st run setup:
sed -i '/^[[:blank:]]*CONFIG_SERIAL_CONSOLE_ENABLE=/c\CONFIG_SERIAL_CONSOLE_ENABLE=0' /DietPi/dietpi.txt
# - Exclude
# NanoPCT4
if (( $G_HW_MODEL != 68 )); then

sed -i '/^[[:blank:]]*CONFIG_SERIAL_CONSOLE_ENABLE=/c\CONFIG_SERIAL_CONSOLE_ENABLE=0' /DietPi/dietpi.txt

fi

G_DIETPI-NOTIFY 2 'Reducing getty count and resource usage:'

Expand Down

0 comments on commit 3a11ad4

Please sign in to comment.