init/FreeBSD: remove xendriverdomain_precmd

...because it's empty. While there also rename xendriverdomain_startcmd to
xendriverdomain_start in order to match the nomenclature of the file.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
[ wei: fix up minor error ]
Signed-off-by: Wei Liu <wei.liu2@citrix.com>

(cherry picked from commit 29b968e46b)
This commit is contained in:
Roger Pau Monne authored and Ian Jackson committed 2017-01-04 17:06:36 +00:00
1 parent e7ad85ef7e
commit 86e54bea2b
1 file changed
+2 -8
@@ -13,19 +13,13 @@ LD_LIBRARY_PATH="${libdir}"
export LD_LIBRARY_PATH
name="xendriverdomain"
start_precmd="xendriverdomain_precmd"
start_cmd="xendriverdomain_startcmd"
start_cmd="xendriverdomain_start"
stop_cmd="xendriverdomain_stop"
extra_commands=""
XLDEVD_PIDFILE="@XEN_RUN_DIR@/xldevd.pid"
xendriverdomain_precmd()
{
:
}
xendriverdomain_startcmd()
xendriverdomain_start()
{
printf "Starting xenservices: xl devd."
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.