MFC 256440, 256498:
- Normalize jailname. "example.com" is converted to "example_com".
- Fix a bug that some $jail_{jname}_foo variables did not work.
- Fix a bug which prevented $jail_devfs_ruleset from working[1].
- Move $jail_parameters to the last of the configuraiton lines[1].
- Fix "ifname|addr" syntax support in jail_{jname}_ip.
- Create /var/run/jail_{jname}.id because ezjail-admin depends on it.
Reported by: jase [1]
Approved by: re (gjb)
git-svn-id: svn://svn.freebsd.org/base/stable/10@256668
ccf9f872-aa2e-dd11-9fc8-
001c23d0bc1f