You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Add service bin directory to PATH for devices without telnetd.
29
-
export PATH="${PATH}:${SERVICE_DIR}/bin"
30
-
31
28
if [[ -e /var/luna/preferences/webosbrew_failsafe ]];then
32
29
# In case a reboot occured during last startup - open an emergency telnet
33
30
# server and nag user to actually fix this. (since further reboots could
34
31
# lead to devmode removal, etc...)
35
32
36
-
telnetd -l /bin/sh
33
+
"$SERVICE_DIR/bin/telnetd" -l /bin/sh
37
34
sleep 1
38
35
39
36
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
74
71
75
72
# Start root telnet server
76
73
if [[ !-e /var/luna/preferences/webosbrew_telnet_disabled ]];then
0 commit comments