Rozdiely pre scripts/shell/sysadmin/diskless-makeroot.sh medzi verziami 1.2 a 1.3
| verzia 1.2, 2003/07/01 22:19:36 |
verzia 1.3, 2003/07/13 13:04:41 |
|
|
| # 01/07/2003 - configurable $TFTPBOOT_ROOT and $TFTPBOOT_FIXED variables |
# 01/07/2003 - configurable $TFTPBOOT_ROOT and $TFTPBOOT_FIXED variables |
| # |
# |
| |
|
| # $Platon: scripts/shell/sysadmin/diskless-makeroot.sh,v 1.1 2003/05/28 23:52:55 nepto Exp $ |
# $Platon: scripts/shell/sysadmin/diskless-makeroot.sh,v 1.2 2003/07/01 22:19:36 nepto Exp $ |
| |
|
| TFTPBOOT_ROOT="/var/tftpboot/"; |
TFTPBOOT_ROOT="/var/tftpboot/"; |
| TFTPBOOT_FIXED="/etc/tftpboot/"; |
TFTPBOOT_FIXED="/etc/tftpboot/"; |
| Riadok 132 rm -r -f "$TFTPBOOT_ROOT/$ip/etc/my-ppp/ |
|
| Riadok 132 rm -r -f "$TFTPBOOT_ROOT/$ip/etc/my-ppp/ |
|
| # -- Nepto [10/3/2003] |
# -- 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; do |
for service in kudzu mserver mysql msql wwwoffled smb httpd dhcpd iptables xinetd routed postfix xfs nfs nfslock cups lpd; 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 |
Platon Group <platon@platon.sk> http://platon.sk/
|
|