1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#!/bin/sh # PROVIDE: cloudinit # REQUIRE: cloudinitlocal $_rc_subr_loaded . /etc/rc.subr name="cloudinit" start_cmd="start_cloud_init" start_cloud_init() { /usr/pkg/bin/cloud-init init } load_rc_config $name run_rc_command "$1"