We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a29f794 commit 5bc9d90Copy full SHA for 5bc9d90
service/scripts/autostart.sh
@@ -1,4 +1,13 @@
1
#!/bin/sh
2
3
-# Start hyperiond
4
-luna-send -n 1 'luna://org.webosbrew.hyperion.ng.loader.service/start' '{}'
+SERVICE_NAME="org.webosbrew.hyperion.ng.loader.service"
+ELEVATION_SCRIPT="/media/developer/apps/usr/palm/services/org.webosbrew.hbchannel.service/elevate-service"
5
+
6
+# If elevation script is available, execute it for good measure
7
+if [ -f ${ELEVATION_SCRIPT} ]
8
+then
9
+ ${ELEVATION_SCRIPT} ${SERVICE_NAME}
10
+fi
11
12
+# Start daemon
13
+luna-send -n 1 "luna://${SERVICE_NAME}/start" '{}' &
0 commit comments