This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# Nagios check to compare host and basejail | |
# Use this freely. Enjoy. | |
# Copyright Dan Langille <dan@langille.org> | |
# | |
HOST=`/usr/bin/file -b /bin/sh` | |
JAIL=`/usr/bin/file -b /usr/jails/basejail/bin/sh` |