Permalink
Browse files

Disable grub feature by default

  • Loading branch information...
1 parent 974676d commit 4bd5aa74d537a5dda392de1f1ec2f719173dd08c @mika mika committed Oct 24, 2009
Showing with 7 additions and 11 deletions.
  1. +1 −6 create-netboot
  2. +6 −5 grml-terminalserver-config
View
7 create-netboot
@@ -8,7 +8,7 @@ isExistent $SHARED_PROG_VARS_ die
function actionPkg
{
local pwd_="$(pwd)"
- local tmp_="$(mktemp -td terminalserver_grub.XXXXXX)" || die "could not create tmpfile"
+ local tmp_="$(mktemp -td terminalserver.XXXXXX)" || die "could not create tmpfile"
# version information:
local version_="$(cat /etc/grml_version)"
@@ -29,11 +29,6 @@ function actionPkg
grml-terminalserver config tftp
cp -r $TFTPD_DATA_DIR_ $path_
- # grub
- awk '/ on$/{print $1}' $GRUB_NIC_CONF_ >$path_/grub_enabled_nics
- grml-terminalserver-config grubConf $path_/grub_enabled_nics
- cp $PATH_/grub.img $path_
-
( cd "$tmp_" && tar jcf "$pwd_"/grml_netboot_package_${version_}.tar.bz2 "grml_netboot_package_$version_" )
rm -rf "$tmp_"
View
11 grml-terminalserver-config
@@ -379,11 +379,12 @@ the internet?"
fi
- # grub
- echo -n "" >"$TMP_"
- local grub_write_="YES"
- $DIALOG_ --clear --backtitle "$BACK_TITLE_" --title "$grub_title_" --yesno "$grub_message_" 5 75 && \
- grubConfig || grub_write_="NO"
+ # grub -> do not use it anymore
+ # echo -n "" >"$TMP_"
+ # local grub_write_="YES"
+ # $DIALOG_ --clear --backtitle "$BACK_TITLE_" --title "$grub_title_" --yesno "$grub_message_" 5 75 && \
+ # grubConfig || grub_write_="NO"
+ grub_write_="NO"
# get options

0 comments on commit 4bd5aa7

Please sign in to comment.