-if [ -z "$INSTALLED" ] ; then
- mkdir -p /dev/pts
- cp -a /GRML/dev/console /GRML/dev/tty[0-9]* /GRML/dev/loop* /GRML/dev/initctl /GRML/dev/null /dev/
- ln -s /GRML/dev/* /dev/ 2>/dev/null
-fi
-
-# Read in boot parameters
-CMDLINE="$(cat /proc/cmdline 2>/dev/null)"
-# noprompt or noeject option given?
-NOPROMPT=${NOPROMPT:-''}
-case "$CMDLINE" in *noprompt*) NOPROMPT="yes"; ;; esac
-NOEJECT=${NOEJECT:-''}
-case "$CMDLINE" in *noeject*) NOEJECT="yes"; ;; esac
-[ -r /etc/noprompt ] && NOPROMPT='yes'
-[ -r /etc/noeject ] && NOPROMPT='yes' && NOEJECT='yes'
+# noprompt and noeject handling
+case "$CMDLINE" in
+ *noprompt*) NOPROMPT=true ; ;;
+ *noeject*) NOEJECT=true ; ;;
+esac
+[ -r /etc/noprompt ] && NOPROMPT=true
+[ -r /etc/noeject ] && NOPROMPT=true && NOEJECT=true