Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Disable grub feature by default

  • Loading branch information...
commit 4bd5aa74d537a5dda392de1f1ec2f719173dd08c 1 parent 974676d
Michael Prokop authored October 24, 2009
7  create-netboot
@@ -8,7 +8,7 @@ isExistent $SHARED_PROG_VARS_ die
8 8
 function actionPkg
9 9
 { 
10 10
     local pwd_="$(pwd)"
11  
-    local tmp_="$(mktemp -td terminalserver_grub.XXXXXX)" || die "could not create tmpfile"
  11
+    local tmp_="$(mktemp -td terminalserver.XXXXXX)" || die "could not create tmpfile"
12 12
 
13 13
     # version information:
14 14
     local version_="$(cat /etc/grml_version)"
@@ -29,11 +29,6 @@ function actionPkg
29 29
     grml-terminalserver config tftp
30 30
     cp -r $TFTPD_DATA_DIR_ $path_
31 31
 
32  
-    # grub
33  
-    awk '/ on$/{print $1}' $GRUB_NIC_CONF_ >$path_/grub_enabled_nics
34  
-    grml-terminalserver-config grubConf $path_/grub_enabled_nics
35  
-    cp $PATH_/grub.img $path_
36  
-
37 32
     ( cd "$tmp_" && tar jcf "$pwd_"/grml_netboot_package_${version_}.tar.bz2 "grml_netboot_package_$version_" )
38 33
 
39 34
     rm -rf "$tmp_"
11  grml-terminalserver-config
@@ -379,11 +379,12 @@ the internet?"
379 379
   fi
380 380
 
381 381
 
382  
-  # grub
383  
-  echo -n "" >"$TMP_"
384  
-  local grub_write_="YES"
385  
-  $DIALOG_ --clear --backtitle "$BACK_TITLE_" --title "$grub_title_" --yesno "$grub_message_" 5 75 && \
386  
-    grubConfig || grub_write_="NO"
  382
+  # grub -> do not use it anymore
  383
+  # echo -n "" >"$TMP_"
  384
+  # local grub_write_="YES"
  385
+  # $DIALOG_ --clear --backtitle "$BACK_TITLE_" --title "$grub_title_" --yesno "$grub_message_" 5 75 && \
  386
+  #  grubConfig || grub_write_="NO"
  387
+  grub_write_="NO"
387 388
 
388 389
 
389 390
   # get options

0 notes on commit 4bd5aa7

Please sign in to comment.
Something went wrong with that request. Please try again.