Rozdiely pre scripts/shell/sysadmin/diskless-makeroot.sh medzi verziami 1.4 a 1.5
| verzia 1.4, 2003/07/14 10:52:37 |
verzia 1.5, 2003/07/24 23:00:48 |
|
|
| # 14/07/2003 - created $DISABLED_SERVICES variable |
# 14/07/2003 - created $DISABLED_SERVICES variable |
| # |
# |
| |
|
| # $Platon: scripts/shell/sysadmin/diskless-makeroot.sh,v 1.3 2003/07/13 13:04:41 nepto Exp $ |
# $Platon: scripts/shell/sysadmin/diskless-makeroot.sh,v 1.4 2003/07/14 10:52:37 nepto Exp $ |
| |
|
| TFTPBOOT_ROOT="/var/tftpboot/"; |
TFTPBOOT_ROOT="/var/tftpboot/"; |
| TFTPBOOT_FIXED="/etc/tftpboot/"; |
TFTPBOOT_FIXED="/etc/tftpboot/"; |
| Riadok 134 rm -r -f "$TFTPBOOT_ROOT/$ip/etc/my-ppp/ |
|
| Riadok 134 rm -r -f "$TFTPBOOT_ROOT/$ip/etc/my-ppp/ |
|
| # |
# |
| |
|
| print_message 'Removing services starting.'; |
print_message 'Removing services starting.'; |
| 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; |
| done |
done |
Platon Group <platon@platon.sk> http://platon.sk/
|
|