Skip to content
View in the app

A better way to browse. Learn more.

Learn more

Start a script when an interface is up

Featured Replies

Hello,

I wonder how I can perfom this task in armbian in a standard way.

 

Thanks

Gianni

  • Author

Thank you so much, although it doesn't seem to trigger my script. This is my script with +x located in dispatcher.d:

if [ "$1" == "eth0" ]; then
        case "$2" in
                up)
                ~/scripts/start_check.sh
                ;;
        esac
fi;

 

  • Author

Or I am using it in a wrong way or this is really a bug in the system since just putting in the script:

logger -s "I DON'T SEE THIS"

and switching off interfaces around I don't see it in syslog file. The only time I see that phrase is when I do restart of NetworkManager service.

Guest
This topic is now closed to further replies.

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.