Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

OrangePi Zero Stable Debian Jessie 3.4.113

Featured Replies

Hello there,

 

I am looking a way to get / write a script for the file to be run on startup.

 

I am running PiAware with dump1090-fa installed. I would like to having the

view1090-fa --modeac

to be auto run when the system is ON. Is there a way to get this work without my concern in the future?

 

Currently if I need to run this command, I need to run SSH and remote the Pi to run this command from my PC. Thank you in advance.

 

Regards,

SaiHou

  • Author
16 hours ago, martinayotte said:

You may call this command at startup using /etc/rc.local ...

 

Hi martinayotte,

 

Thank you for the advise.

 

Is it something like:-

 

sudo nano /etc/rc.local

  GNU nano 2.7.4                 File: /etc/rc.local

#!/bin/sh -e
#
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to disable this script please use systemd to control the service:
# systemctl disable rc-local.service
#
# By default this script does nothing.

view1090-fa --modeac

exit 0

Then reboot and the view1090-fa --modeac will run automatically? Thank you once again.

 

Regards,

SaiHou

  • Author
12 hours ago, martinayotte said:

Right !

For other kind of apps which run in background, ampersand need to be added, example :


python run_for_ever.py &

 

Thanks for the reply. It only works in Armbian Debian Jessie.

For the Raspbian Jessie it will not work. Any clue on this to solve it?

Thanks once again.

  • Author
22 minutes ago, martinayotte said:

euuh ? /etc/rc.local should exist on both !

I'm don't know what can be wrong in Rasbian ...

 

Hi martinayotte,

 

I have no idea. Both OS has this file but only the Armbian is working, Raspbian is not. No clue.

 

Anyway, thank you for sharing info.

 

Regards.

Guest
This topic is now closed to further replies.

Account

Navigation

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.