diff --git a/config/syslinux/syslinux.cfg b/config/syslinux/syslinux.cfg index 68ad82afd..5a6a975a2 100644 --- a/config/syslinux/syslinux.cfg +++ b/config/syslinux/syslinux.cfg @@ -3,6 +3,9 @@ DISPLAY boot.msg PROMPT 1 DEFAULT vmlinuz APPEND initrd=instroot vga=791 splash=silent ro +LABEL ipfire + KERNEL vmlinuz + APPEND initrd=instroot vga=791 splash=silent ro LABEL novga KERNEL vmlinuz APPEND initrd=instroot ro diff --git a/src/install+setup/install/mountdest.sh b/src/install+setup/install/mountdest.sh index f2c4b53e2..e28a0689b 100644 --- a/src/install+setup/install/mountdest.sh +++ b/src/install+setup/install/mountdest.sh @@ -1,7 +1,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2007-2012 IPFire Team # +# Copyright (C) 2007-2013 IPFire Team # # # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # @@ -89,6 +89,12 @@ for path in /sys/block/*; do fi done + # Check if user want skip by commandline + if [ "$(grep "skipdst=${device_}" /proc/cmdline)" ]; then + echo "${device_} was skipped via cmdline." + continue + fi + echo "Checking ${device_}" if check_source_drive ${device_}; then echo " is source drive - skipping"