[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[patch] ezjail.sh set_rcvar() call is removed from -CURRENT



Hi,

As of 20120114, set_rcvar() is removed from /etc/rc.subr.  Users
planning to manage jails on -CURRENT with ezjail-admin will be affected
by the 'rcvar=' line in the rc(8) script installed with the port.

The attached patch corrects the problem for users of -CURRENT.

Regards,

Glen

--- ezjail.sh.orig	2012-02-28 22:09:04.197219000 -0500
+++ ezjail.sh	2012-02-28 22:09:29.552221467 -0500
@@ -20,7 +20,7 @@
 . /etc/rc.subr
 
 name=ezjail
-rcvar=`set_rcvar`
+rcvar=${name}_enable
 extra_commands="startcrypto stopcrypto"
 load_rc_config ${name}