From 208937d79311db5858ca6eb12724538aec671ccb Mon Sep 17 00:00:00 2001 From: erdgeist Date: Fri, 14 Sep 2007 23:25:04 +0000 Subject: Added short cuts to ezjail-admin that will invoke PREFIX/etc/rc.d/ezjail{,.sh} with --- ezjail-admin | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ezjail-admin b/ezjail-admin index 7e86252..56290c9 100755 --- a/ezjail-admin +++ b/ezjail-admin @@ -631,6 +631,13 @@ install) # Fill ports, if requested [ "${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 ######################## config) -- cgit v1.2.3