Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- https://web.archive.org/web/20211011195733mp_/https://timboudreau.com/files/systemprep.xml
- <service_bundle type="manifest" name="export">
- <service name="smartos/setup" type="service" version="0">
- <create_default_instance enabled="true"/>
- <single_instance/>
- <dependency name="net-physical" grouping="require_all" restart_on="none" type="service">
- <service_fmri value="svc:/network/physical"/>
- </dependency>
- <dependency name="filesystem" grouping="require_all" restart_on="none" type="service">
- <service_fmri value="svc:/system/filesystem/local"/>
- </dependency>
- <exec_method name="start" type="method" exec="/opt/custom/share/svc/smartos_setup.sh %m" timeout_seconds="0"/>
- <exec_method name="stop" type="method" exec="/opt/custom/share/svc/smartos_setup.sh %m" timeout_seconds="60"/>
- <property_group name="startd" type="framework">
- <propval name="duration" type="astring" value="transient"/>
- </property_group>
- <stability value="Unstable"/>
- <template>
- <common_name>
- <loctext xml:lang="C">SmartOS Ad Hoc Setup Script</loctext>
- </common_name>
- </template>
- </service>
- </service_bundle>
Advertisement
Add Comment
Please, Sign In to add comment