+if [ -e /init ]; then
+ if $GREP -q PUPPYSFS /init; then
+ if $GREP -q VEKETSFS /init; then
+ DISTRO='veket'
+ else
+ DISTRO='puppy'
+ fi
+ fi
+fi
+
+if [ -e /etc/os-release ]; then
+ if $GREP -q 'Tails' /etc/os-release; then
+ DISTRO='tails'
+ fi
+fi
+
+if [ "$DISTRO"="default" ]; then
+ if $GREP -q 'slax/' /proc/cmdline; then
+ DISTRO='slax'
+ fi
+fi
+
+