always and once scripts

Antworten
gallac
Beiträge: 2
Registriert: 09 Apr 2018, 15:16

always and once scripts

Beitrag von gallac »

hi,
i've been using opsi for a few months now and i'm only using the install and uninstall scripts for software packages.
So my question is, what exactly are "always" and "once" scripts, that i can also put into a software package?

Sincerely
gallac
Benutzeravatar
r.roeder
uib-Team
Beiträge: 540
Registriert: 02 Jul 2008, 10:08

Re: always and once scripts

Beitrag von r.roeder »

Hi gallac,

'always'- resp. 'once' scripts materialize the corresponding 'always' resp. 'once' action request configuration for a product. The different action request differ in the configuration to which a successfull action leads:

- a successfull action request 'setup' leads do an installation state 'installed' and the action request 'none'
- a successfull action request 'uninstall' produces an installation state 'uninstalled' and the action request 'none'
- a successfull action request 'always' produces an installation state 'uninstalled' and keeps the action request 'always'
- a successfull action request 'once' does not change the installation state and produces the action request 'none'

Best greetings
Rupert
opsi support - uib gmbh
For productive opsi installations we recommend maintainance + support contracts which are the base of opsi development.


Wondering who's using opsi? Have a look at the opsi map: http://opsi.org/opsi-map/.
Antworten