[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/se3-clonage/sources/scripts/ -> se3_pxe_slitaz_cmdline.sh (source)

   1  #!/bin/bash
   2  
   3  # $Id: se3_pxe_slitaz_cmdline.sh 5832 2010-10-14 19:45:45Z crob $
   4  # Auteur: Stephane Boireau
   5  # Dernière modification: 14/10/2010
   6  
   7  # Ajout en visudo:
   8  # Cmnd_Alias SE3CLONAGE=/usr/share/se3/scripts/se3_tftp_boot_pxe.sh,/usr/share/se3/scripts/pxe_gen_cfg.sh,/usr/share/se3/scripts/se3_pxe_menu_ou_pas.sh,/usr/share/se3/scripts/set_password_menu_tftp.sh,/usr/share/se3/scripts/se3_pxe_slitaz_cmdline.sh
   9  
  10  for i in default linux.menu clonage.menu
  11  do
  12      if [ -e /tftpboot/pxelinux.cfg/$i ]; then
  13          sed -i "s|###TFTP_SLITAZ_CMDLINE###|$1|g" /tftpboot/pxelinux.cfg/$i
  14      fi
  15  done


Generated: Tue Mar 17 22:47:18 2015 Cross-referenced by PHPXref 0.7.1