#!/bin/sh if [ "$(stat -c %d:%i /)" != "$(stat -c %d:%i /proc/1/root/.)" ]; then echo "Chroot Ortam" else echo "Normal Ortam" fi