Jump to content
  • 0

Custom script on Event


Question

9 answers to this question

Recommended Posts

  • 0
Posted (edited)

Thank you, but I not found info about installing this component

1. I used internal storage to add opkg without usb

2. loaded my script to storage (ddns.sh)

3. Checked - script running well when start it manually

4. No idea how to get Opkg Component working on my device.... Can you help me with more detailed info please?

1644168099620.jpg

1644168334288.jpg

Edited by Alekxsandr
  • 0
Posted
5 минут назад, Alekxsandr сказал:

No idea how to get Opkg Component working on my device.... Can you help me with mo detail info please?

It is already working on your device.

  • 0
Posted
1 минуту назад, Alekxsandr сказал:

I just need to make those folders manually like

In case of usb install - the folders are already there. I think in your case you need only to copy script in appropriate folder and make it executable. Add a logger call inside the script to check it is called as designed.

  • 0
Posted (edited)

Tried with test script inside /opt/etc/ndm/button.d - no effect (pressing buttons not starting my test script)

1644171124232.jpg

Edited by Alekxsandr
  • 0
Posted
26 минут назад, Alekxsandr сказал:

Tried with test script inside /opt/etc/ndm/button.d - no effect (pressing buttons not starting my test script)

You should configure a custom action for the FN1 or FN2 button in the Web configurator also.
image.png

 

 

  • 0
Posted

Using full path for output file and configuring a custom action for the FN1 or FN2 button in the Web configuration has effect.

Thanks a lot, guru!

 

Now I'm sure it works.

1644177277561.jpg

1644177366801.jpg

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...