diff options
-rwxr-xr-x | ezjail-admin | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ezjail-admin b/ezjail-admin index 7e86252..56290c9 100755 --- a/ezjail-admin +++ b/ezjail-admin | |||
@@ -632,6 +632,13 @@ install) | |||
632 | [ "${ezjail_installports}" = "YES" ] && ezjail_updateports | 632 | [ "${ezjail_installports}" = "YES" ] && ezjail_updateports |
633 | 633 | ||
634 | ;; | 634 | ;; |
635 | ######################## ezjail-admin SHORTCUT ######################## | ||
636 | *start|*stop) | ||
637 | [ -x "${ezjail_prefix}/etc/rc.d/ezjail" ] && exec "${ezjail_prefix}/etc/rc.d/ezjail" $@ | ||
638 | [ -x "${ezjail_prefix}/etc/rc.d/ezjail.sh" ] && exec "${ezjail_prefix}/etc/rc.d/ezjail.sh" $@ | ||
639 | |||
640 | exerr "Could not find ezjail's rc.d script in ${ezjail_prefix}/etc/rc.d/. You need to type it the long way." | ||
641 | ;; | ||
635 | ######################## ezjail-admin CONFIG ######################## | 642 | ######################## ezjail-admin CONFIG ######################## |
636 | config) | 643 | config) |
637 | # Clean variables, prevent polution | 644 | # Clean variables, prevent polution |