echo 'openwrt'; return
fi
+ if $GREP -q 'easyos' /proc/cmdline; then
+ echo 'easyos'; return
+ fi
+
if [ -e /BOOT_SPECS ]; then
if $GREP -q 'easyos' /BOOT_SPECS; then
echo 'easyos'; return
fi
fi
+ # Parted Magic
+ if [ -d /pmagic ]; then
+ echo 'pmagic'; return
+ fi
+
# rhel5/CentOS5 and all other distributions based on them
if $GREP -q 'el5' /proc/version; then
echo 'rhel5'; return
echo 'adelie'; return
fi
- if $GREP -q 'pmagic' /proc/version; then
- echo 'pmagic'; return
- fi
-
if $GREP -q 'CDlinux' /proc/cmdline; then
echo 'cdlinux'; return
fi