blob: 7820af6e94e3a7cedeb22060340182117a2da617 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#!/sbin/openrc-run
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
depend() {
use net
}
command="/usr/sbin/omnisync"
command_args="-M ${OMNISYNC_MODE} ${OMNISYNC_ARGS}"
start_pre() {
if [ -z "${OMNISYNC_MODE}" ] ; then
eerror 'Configuration incomplete! OMNISYNC_MODE not set'
return 1
fi
return 0
}
# vim: filetype=gentoo-init-d sw=2 ts=2 sts=2 noet:
|