scripts

Random scripts
git clone git://git.margiolis.net/scripts.git
Log | Files | Refs | README | LICENSE

mkjail (194B)


      1 #!/bin/sh
      2 
      3 test $# -ne 1 && echo "usage: ${0##*/} jail" && exit 1
      4 
      5 # TODO: edit rc.conf and jail.conf
      6 
      7 mkdir -p /usr/local/jail/${1}
      8 bsdinstall jail /usr/local/jail/${1}
      9 service jail start ${1}