From e4bb83103e18e3b3f53a2e44a41dda54ab8a616c Mon Sep 17 00:00:00 2001 From: ea-dot-codes <129604982+ea-dot-codes@users.noreply.github.com> Date: Sat, 1 Apr 2023 10:05:24 -0400 Subject: [PATCH] Kill telnetd during startup to prevent security vuln --- skeleton/.tmp_update/updater | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/skeleton/.tmp_update/updater b/skeleton/.tmp_update/updater index b429812..412272c 100755 --- a/skeleton/.tmp_update/updater +++ b/skeleton/.tmp_update/updater @@ -5,10 +5,12 @@ if [ -d "/mnt/SDCARD/miyoo" ] ; then exit 0 fi +killall telnetd + # or launch (and keep launched) LAUNCH_PATH="/mnt/SDCARD/.system/paks/MiniUI.pak/launch.sh" while [ -f "$LAUNCH_PATH" ] ; do "$LAUNCH_PATH" done -reboot # under no circumstances should stock be allowed to touch this card \ No newline at end of file +reboot # under no circumstances should stock be allowed to touch this card