Allow to give more than one jail's name, eg.:
# /etc/rc.d/jail start www mail MFC after: 3 days
This commit is contained in:
parent
5f2c46d5ed
commit
4558bd977d
@ -239,5 +239,9 @@ jail_stop()
|
||||
}
|
||||
|
||||
load_rc_config $name
|
||||
[ -n "$2" ] && jail_list="$2"
|
||||
run_rc_command "$1"
|
||||
cmd="$1"
|
||||
if [ $# -gt 0 ]; then
|
||||
shift
|
||||
fi
|
||||
[ -n "$*" ] && jail_list="$*"
|
||||
run_rc_command "${cmd}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user