chroot_kontrol 133 B

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