#set -e
-Arguments ()
+Cmdline ()
{
- for ARGUMENT in $(cat /proc/cmdline)
+ for _PARAMETER in ${_CMDLINE}
do
- case "${ARGUMENT}" in
+ case "${_PARAMETER}" in
live-boot.read-only|read-only)
LIVE_READ_ONLY="true"
export LIVE_READ_ONLY
export LIVE_VERIFY_CHECKSUMS
;;
- # parameters below need review
+ # Special options
+ live-boot.debug|debug)
+ LIVE_DEBUG="true"
+ ;;
+
+
+ # parameters below need review (FIXME)
skipconfig)
NOFASTBOOT="true"
NOFSTAB="true"
BOOTIF="${x#BOOTIF=}"
;;
- debug)
- DEBUG="true"
- export DEBUG
-
- set -x
- ;;
-
dhcp)
# Force dhcp even while netbooting
# Use for debugging in case somebody works on fixing dhclient