[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: startup script




On 13/3/23 17:58, K0LNY_Glenn wrote:
What is the best way to get either a CLI command to run when the desktop is
loaded?
I typically use crontab and run a couple commands there, but I want this to
run when the desktop starts, because the system won't connect to WIFI until
the desktop starts.

There are a few options:

You can configure Systemd to run a unit after the network-related services have started. Alternatively, in whatever program you're using to handle the networking, there should be an option to run a post-up script after the network connection has been established.

Some Web searches along these lines should provide further details.


Reply to: