Mercurial > hgrepos > FreeBSD > ports > sysutils > local-bsdtools
comparison sbin/fjail @ 227:a7a9fd895d30
Print message when calling "newaliases"
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Thu, 01 Sep 2022 09:33:16 +0200 |
| parents | 73f2436fdf86 |
| children | 4493e364cabf |
comparison
equal
deleted
inserted
replaced
| 226:73f2436fdf86 | 227:a7a9fd895d30 |
|---|---|
| 400 else | 400 else |
| 401 echo "WARNING: \"${_mp}/etc/resolv.conf\" exists already -- not changed" | 401 echo "WARNING: \"${_mp}/etc/resolv.conf\" exists already -- not changed" |
| 402 fi | 402 fi |
| 403 | 403 |
| 404 # Call newaliases within the jail | 404 # Call newaliases within the jail |
| 405 echo "Calling \"newaliases\"" | |
| 405 chroot "${_mp}" /usr/bin/newaliases | 406 chroot "${_mp}" /usr/bin/newaliases |
| 406 | 407 |
| 407 command_hostid | 408 command_hostid |
| 408 } | 409 } |
| 409 | 410 |
