2020-01-23 17:21:45 +00:00
|
|
|
#!/sbin/openrc-run
|
|
|
|
#
|
|
|
|
# FIXME: I am pretty sure this is not 'right' as I am not familiar with this
|
|
|
|
# init system and did not bother to read the docs throughoughly.
|
|
|
|
|
|
|
|
name="$RC_SVCNAME"
|
|
|
|
|
|
|
|
depend() {
|
2020-01-24 11:40:09 +00:00
|
|
|
use net logger rdnssd
|
2020-01-23 17:21:45 +00:00
|
|
|
before sshd
|
|
|
|
}
|
|
|
|
|
|
|
|
start() {
|
|
|
|
ebegin "Starting uncloud-init"
|
2020-01-24 07:50:14 +00:00
|
|
|
/usr/local/bin/uncloud-init | logger
|
2020-01-23 17:21:45 +00:00
|
|
|
eend $?
|
|
|
|
}
|