Skip to content

Commit

Permalink
webui/js: call bindhosts.sh --action on action
Browse files Browse the repository at this point in the history
  • Loading branch information
backslashxx committed Dec 16, 2024
1 parent 420fb04 commit 970efed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion module/webroot/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ async function executeActionScript() {
try {
showPrompt("Script running...");
setTimeout(async () => {
const command = "su -c 'sh /data/adb/modules/bindhosts/bindhosts.sh'";
const command = "su -c 'sh /data/adb/modules/bindhosts/bindhosts.sh --action'";
const output = await execCommand(command);
const lines = output.split("\n");
lines.forEach(line => {
Expand Down

0 comments on commit 970efed

Please sign in to comment.