#!/bin/sh
[ "$(stat -c %d:%i /)" != "$(stat -c %d:%i /proc/1/root/.)" ] && echo in chroot
[ "$(ls -di /)" != "2 /" ] && echo in chroot
