Skip to content

Commit

Permalink
Update MainPanel.js
Browse files Browse the repository at this point in the history
  • Loading branch information
aabytt authored May 30, 2024
1 parent 132716f commit eda3574
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions frontend/views/MainPanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,9 @@ module.exports = kind({
{kind: Divider, content: 'Result'},
{kind: BodyText, name: 'result', content: 'Nothing selected...'}
]},
{kind: LunaService, name: 'statusCheck', service: 'luna://org..hbchannel.service', method: 'exec', onResponse: 'onStatusCheck', onError: 'onStatusCheck'},
{kind: LunaService, name: 'exec', service: 'luna://org..hbchannel.service', method: 'exec', onResponse: 'onExec', onError: 'onExec'},
{kind: LunaService, name: 'init', service: 'luna://org..hbchannel.service', method: 'exec', onResponse: 'onInit', onError: 'onInit'},
{kind: LunaService, name: 'statusCheck', service: 'luna://org.webosbrew.hbchannel.service', method: 'exec', onResponse: 'onStatusCheck', onError: 'onStatusCheck'},
{kind: LunaService, name: 'exec', service: 'luna://org.webosbrew.hbchannel.service', method: 'exec', onResponse: 'onExec', onError: 'onExec'},
{kind: LunaService, name: 'init', service: 'luna://org.webosbrew.hbchannel.service', method: 'exec', onResponse: 'onInit', onError: 'onInit'},
],

bindings: [],
Expand Down Expand Up @@ -177,7 +177,7 @@ module.exports = kind({

autostartToggle: function (sender) {
if (sender.active) {
this.exec('mkdir -p /var/lib//init.d && ln -sf ' + applyPath + ' ' + linkPath);
this.exec('mkdir -p /var/lib/webosbrew/init.d && ln -sf ' + applyPath + ' ' + linkPath);
} else {
this.exec('rm -rf ' + linkPath);
}
Expand Down

0 comments on commit eda3574

Please sign in to comment.