Subversion Repositories configs

Rev

Rev 3 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3 Rev 33
Line 16... Line 16...
16
 
16
 
17
[ -z "$REALDEVICE" ] && REALDEVICE=$DEVICE
17
[ -z "$REALDEVICE" ] && REALDEVICE=$DEVICE
18
 
18
 
19
/etc/sysconfig/network-scripts/ifdown-routes ${REALDEVICE} ${DEVNAME}
19
/etc/sysconfig/network-scripts/ifdown-routes ${REALDEVICE} ${DEVNAME}
20
 
20
 
21
if [ "$PEERDNS" != "no" -o -n "$RESOLV_MODS" -a "$RESOLV_MODS" != "no" ]; then
21
if [ "$PEERDNS" != "no" -o -n "$RESOLV_MODS" -a "$RESOLV_MODS" != "no" ] &&; \
-
 
22
   [ "${DEVICETYPE}" = "ppp" -o "${DEVICETYPE}" = "ippp" -o -n "${DNS1}" -o "${BOOTPROTO}" = "bootp" -o "${BOOTPROTO}" = "dhcp" ] ; then
22
    if [ -f /etc/resolv.conf.save ]; then
23
    if [ -f /etc/resolv.conf.save ]; then
23
	change_resolv_conf /etc/resolv.conf.save
24
	change_resolv_conf /etc/resolv.conf.save
24
	rm -f /etc/resolv.conf.save
25
	rm -f /etc/resolv.conf.save
25
    fi
26
    fi
26
    if [ "${DEVICETYPE}" = "ppp" -o "${DEVICETYPE}" = "ippp" ]; then
27
    if [ "${DEVICETYPE}" = "ppp" -o "${DEVICETYPE}" = "ippp" ]; then