|
Server : Apache System : Linux server.mata-lashes.com 3.10.0-1160.90.1.el7.x86_64 #1 SMP Thu May 4 15:21:22 UTC 2023 x86_64 User : matalashes ( 1004) PHP Version : 8.1.29 Disable Function : NONE Directory : /usr/src/cloud-init/sysvinit/gentoo/ |
Upload File : |
#!/sbin/openrc-run
depend() {
after localmount
before net
before cloud-init
provide cloud-init-local
}
start() {
if grep -q 'cloud-init=disabled' /proc/cmdline; then
ewarn "$RC_SVCNAME is disabled via /proc/cmdline."
elif test -e /etc/cloud/cloud-init.disabled; then
ewarn "$RC_SVCNAME is disabled via cloud-init.disabled file"
else
cloud-init init --local
fi
eend 0
}