[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Help with the /etc/init.d/network



Can anyone tell me exactly what this line accomplishes:

[ "${GATEWAY}" ] && route add default gw ${GATEWAY} metric 1

I'm pretty sure it adds the default gateway setting for TCP/IP, but I don't
understand what it means, exactly. Could you explain:
1. The script syntax
2. the commands involved

I'd appreciate it. Thanks.

====================================================
A. Scott White
Director of Information Systems and Product Strategy
Healthcare Solutions Group
Affiliated Computer Services, Inc.
scottw@coderite.com
====================================================



Reply to: