diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/chrooted | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/chrooted b/bin/chrooted new file mode 100755 index 0000000..069bef6 --- /dev/null +++ b/bin/chrooted @@ -0,0 +1,6 @@ +#!/usr/bin/bash +if [ "$(stat -c %d:%i /)" != "$(stat -c %d:%i /proc/1/root/.)" ]; then + echo "We are chrooted!" +else + echo "Business as usual" +fi |