Page 1 of 1

How to check updates programmatically?

Posted: 02 Feb 2021, 10:40
by geekytone
Good morning,

I'm at this time writting an update script and wish to integrate CSF update inside this update script. Is there a way to check updates of CSF throught a BASH script?

Re: How to check updates programmatically?

Posted: 02 Feb 2021, 10:42
by ForumAdmin

Code: Select all

csf -c
will indicate whether there is an update. Lower the value in /etc/csf/version.txt to test.

Re: How to check updates programmatically?

Posted: 02 Feb 2021, 14:47
by geekytone
Good morning,

Thank you, it works very well. But how to launch the update process?