diff options
-rw-r--r-- | bashrc | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -85,6 +85,8 @@ if [ "$(awk '$5=="/" {print $1}' </proc/1/mountinfo)" != "$(awk '$5=="/" {print # chroot if [ -e /etc/redhat-release ]; then ROOT=$(cat /etc/redhat-release) + elif [ -e /etc/gentoo-release ]; then + ROOT=$(cat /etc/gentoo-release) else ROOT="unknown chroot" fi |