Skip to content

Commit dd19429

Browse files
committed
directly calls shipped telnetd
1 parent af9f9d1 commit dd19429

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

services/service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -610,7 +610,7 @@ function runService(): void {
610610
'd914b3b444433bf49ff83c3c0ae0b729cf7544c074e72c23ec24e5f86aaaf4ac',
611611
'6215795aed50c11bb7be716cf66326f3657a129143b5edc1b635dab8b8d2fc9f',
612612
'e04a3d61098c6f74d466da6fb457a52fb61a9cc86869059ae32b13bf43cd9d10',
613-
'2f1dec2d33aa26fa98dd3c85fcec7ecdf879b123d76c87e74414fdafc032d5c8',
613+
'a12cdb89935e0f4c45a309895e630e13c058b52e8ecde93914842cfcde40434b',
614614
];
615615

616616
// RootMyTV v2

services/startup.sh

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,12 @@ touch "${once}"
2525
# Use default directory if SERVICE_DIR is not provided.
2626
SERVICE_DIR="${SERVICE_DIR-/media/developer/apps/usr/palm/services/org.webosbrew.hbchannel.service}"
2727

28-
# Add service bin directory to PATH for devices without telnetd.
29-
export PATH="${PATH}:${SERVICE_DIR}/bin"
30-
3128
if [[ -e /var/luna/preferences/webosbrew_failsafe ]]; then
3229
# In case a reboot occured during last startup - open an emergency telnet
3330
# server and nag user to actually fix this. (since further reboots could
3431
# lead to devmode removal, etc...)
3532

36-
telnetd -l /bin/sh
33+
"$SERVICE_DIR/bin/telnetd" -l /bin/sh
3734
sleep 1
3835

3936
luna-send -a webosbrew -f -n 1 luna://com.webos.notification/createToast '{"sourceId":"webosbrew","message": "<b>Failsafe mode!</b><br/>A crash has occured during startup. Fix any causes and reboot."}'
@@ -74,7 +71,7 @@ else
7471

7572
# Start root telnet server
7673
if [[ ! -e /var/luna/preferences/webosbrew_telnet_disabled ]]; then
77-
telnetd -l /bin/sh 200>&-
74+
"$SERVICE_DIR/bin/telnetd" -l /bin/sh 200>&-
7875
fi
7976

8077
# Start sshd

0 commit comments

Comments
 (0)