Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Štvrtok, 15. október 2026

Rozdiely pre scripts/shell/sysadmin/diskless-makeroot.sh medzi verziami 1.3 a 1.4

verzia 1.3, 2003/07/13 13:04:41 verzia 1.4, 2003/07/14 10:52:37
Riadok 12 
Riadok 12 
 # 16/03/2003 - created  # 16/03/2003 - created
 # 20/03/2003 - do not copy /dev/ if already exists  # 20/03/2003 - do not copy /dev/ if already exists
 # 01/07/2003 - configurable $TFTPBOOT_ROOT and $TFTPBOOT_FIXED variables  # 01/07/2003 - configurable $TFTPBOOT_ROOT and $TFTPBOOT_FIXED variables
   # 14/07/2003 - created $DISABLED_SERVICES variable
 #  #
   
 # $Platon: scripts/shell/sysadmin/diskless-makeroot.sh,v 1.2 2003/07/01 22:19:36 nepto Exp $  # $Platon: scripts/shell/sysadmin/diskless-makeroot.sh,v 1.3 2003/07/13 13:04:41 nepto Exp $
   
 TFTPBOOT_ROOT="/var/tftpboot/";  TFTPBOOT_ROOT="/var/tftpboot/";
 TFTPBOOT_FIXED="/etc/tftpboot/";  TFTPBOOT_FIXED="/etc/tftpboot/";
   
   # This is a subset of services, that should be disabled on diskless client.
   # Do not hesitate to update this list.
   # -- Nepto [10/3/2003]
   DISABLED_SERVICES="kudzu mserver mysql msql wwwoffled smb httpd dhcpd iptables xinetd routed postfix xfs nfs nfslock cups lpd";
   
 #  #
 # Input parameter check  # Input parameter check
 #  #
Riadok 127  rm -r -f "$TFTPBOOT_ROOT/$ip/etc/my-ppp/
Riadok 133  rm -r -f "$TFTPBOOT_ROOT/$ip/etc/my-ppp/
 # Removing services starting.  # Removing services starting.
 #  #
   
 # Do not hesitate to update this list of services.  
 # This is only a subset of services, that should be disabled on diskless client.  
 # -- Nepto [10/3/2003]  
   
 print_message 'Removing services starting.';  print_message 'Removing services starting.';
 for service in kudzu mserver mysql msql wwwoffled smb httpd dhcpd iptables xinetd routed postfix xfs nfs nfslock cups lpd; do  for service in "$DISABLED_SERVICES"; do
         echo "  $TFTPBOOT_ROOT/$ip/etc/rc.d/init.d/$service";          echo "  $TFTPBOOT_ROOT/$ip/etc/rc.d/init.d/$service";
         rm -f "$TFTPBOOT_ROOT/$ip/etc/rc.d/init.d/$service" || exit;          rm -f "$TFTPBOOT_ROOT/$ip/etc/rc.d/init.d/$service" || exit;
 done  done

Legend:
Odstranené z verzie1.3  
zmenené riadky
  Pridané vo verzii1.4

Platon Group <platon@platon.sk> http://platon.sk/
Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok