Commit 80cc5044 authored by Natanael Copa's avatar Natanael Copa

setup-disk: don't bother sed things we overwrite

it gives error messages in case syslinux.cfg is not there.
parent d1f2db71
......@@ -72,9 +72,6 @@ install_mounted_root() {
ln -s boot/grsec "$mnt"/grsec
# create an extlinux.conf
sed -e '/append initrd/d' \
-e ':kernel /boot/grsec:d' \
/media/*/syslinux.cfg > "$mnt"/boot/extlinux.conf
cat >"$mnt"/boot/extlinux.conf <<EOF
timeout 20
prompt 1
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment