Toomas, Till, thank you, the IPS way worked for me.

Michal

On 05/07/19 10:31 PM, Toomas Soome via oi-dev wrote:
You need SMF profile. Google will help, also see /etc/svc/profile.

Sent from my iPhone

On 7 May 2019, at 23:27, Till Wegmüller <[email protected]> wrote:

Hi

The only way I know in the IPS framework is to use variants and two
seperate xml files for zone.global and zone.nonglobal environment

Greetings
Till

On 07.05.19 22:12, Michal Nowak wrote:
Hi,

I want to modify a SMF service so it's enabled by default once it's
installed in global zone. In non-global zone the service must be
disabled by default and may be enabled by admin manually (e.g. by
setting SMF prop value).

How do I do that in SMF? Is there an example of such a service already?

I figured out that '<instance name="default" enabled="true">' does the
enablement, but how to limit this to global zone?

Thanks,
Michal

_______________________________________________
oi-dev mailing list
[email protected]
https://openindiana.org/mailman/listinfo/oi-dev

_______________________________________________
oi-dev mailing list
[email protected]
https://openindiana.org/mailman/listinfo/oi-dev


_______________________________________________
oi-dev mailing list
[email protected]
https://openindiana.org/mailman/listinfo/oi-dev


_______________________________________________
oi-dev mailing list
[email protected]
https://openindiana.org/mailman/listinfo/oi-dev

Reply via email to