Skip to content

Commit 4709f7d

Browse files
committed
make sure OS update does not prompt for choices
1 parent 5fb6fb7 commit 4709f7d

File tree

1 file changed

+1
-1
lines changed
  • src/modules/adsb-feeder/filesystem/root/opt/adsb/scripts

1 file changed

+1
-1
lines changed

src/modules/adsb-feeder/filesystem/root/opt/adsb/scripts/update-os

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ if [ -x /boot/dietpi/dietpi-update ] ; then
88
G_INTERACTIVE=0 CONFIG_CHECK_APT_UPDATES=2 /boot/dietpi/dietpi-update 1
99
else
1010
apt update
11-
apt upgrade -y
11+
DEBIAN_FRONTEND=noninteractive apt upgrade -y
1212
fi
1313

1414
# restart important services if not running for some reason

0 commit comments

Comments
 (0)