Added short cuts to ezjail-admin that will invoke PREFIX/etc/rc.d/ezjail{,.sh} with
This commit is contained in:
parent
8bc4651429
commit
208937d793
@ -631,6 +631,13 @@ install)
|
|||||||
# Fill ports, if requested
|
# Fill ports, if requested
|
||||||
[ "${ezjail_installports}" = "YES" ] && ezjail_updateports
|
[ "${ezjail_installports}" = "YES" ] && ezjail_updateports
|
||||||
|
|
||||||
|
;;
|
||||||
|
######################## ezjail-admin SHORTCUT ########################
|
||||||
|
*start|*stop)
|
||||||
|
[ -x "${ezjail_prefix}/etc/rc.d/ezjail" ] && exec "${ezjail_prefix}/etc/rc.d/ezjail" $@
|
||||||
|
[ -x "${ezjail_prefix}/etc/rc.d/ezjail.sh" ] && exec "${ezjail_prefix}/etc/rc.d/ezjail.sh" $@
|
||||||
|
|
||||||
|
exerr "Could not find ezjail's rc.d script in ${ezjail_prefix}/etc/rc.d/. You need to type it the long way."
|
||||||
;;
|
;;
|
||||||
######################## ezjail-admin CONFIG ########################
|
######################## ezjail-admin CONFIG ########################
|
||||||
config)
|
config)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user