File: cloudinit

package info (click to toggle)
cloud-init 20.2-2~deb10u2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 7,276 kB
  • sloc: python: 69,663; sh: 3,915; makefile: 105; xml: 21
file content (16 lines) | stat: -rwxr-xr-x 236 bytes parent folder | download | duplicates (4)
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"