Skip to content

Commit 5949b68

Browse files
committed
added service bin directory to PATH in startup script
1 parent 5e346f8 commit 5949b68

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

services/startup.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ 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+
2831
if [[ -e /var/luna/preferences/webosbrew_failsafe ]]; then
2932
# In case a reboot occured during last startup - open an emergency telnet
3033
# server and nag user to actually fix this. (since further reboots could

0 commit comments

Comments
 (0)