Rozdiely pre scripts/shell/sysadmin/diskless-makeroot.sh medzi verziami 1.6 a 1.7
| verzia 1.6, 2005/09/13 17:16:02 |
verzia 1.7, 2005/09/13 17:30:28 |
|
|
| # 14/07/2003 - created $DISABLED_SERVICES variable |
# 14/07/2003 - created $DISABLED_SERVICES variable |
| # |
# |
| |
|
| # $Platon: scripts/shell/sysadmin/diskless-makeroot.sh,v 1.5 2003/07/24 23:00:48 nepto Exp $ |
# $Platon: scripts/shell/sysadmin/diskless-makeroot.sh,v 1.6 2005/09/13 17:16:02 nepto Exp $ |
| |
|
| TFTPBOOT_ROOT="/var/tftpboot/"; |
TFTPBOOT_ROOT="/var/tftpboot/"; |
| TFTPBOOT_FIXED="/etc/tftpboot/"; |
TFTPBOOT_FIXED="/etc/tftpboot/"; |
| Riadok 137 print_message 'Removing services startin |
|
| Riadok 137 print_message 'Removing services startin |
|
| for service in $DISABLED_SERVICES; 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; |
| |
rm -f "$TFTPBOOT_ROOT/$ip/etc/init.d/$service" || exit; |
| done |
done |
| |
|
| # |
# |
Platon Group <platon@platon.sk> http://platon.sk/
|
|