aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifup-tunnel
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2011-03-25 16:17:16 -0400
committerBill Nottingham <notting@redhat.com>2011-03-25 16:17:16 -0400
commit255a2b7db036fd4b1df99028ba6298c4b5837485 (patch)
treee963c8244423f54f6c9ffd4c65773f907452fab4 /sysconfig/network-scripts/ifup-tunnel
parent0d4c67a520b64f029d094e9a3d10ec179683c033 (diff)
downloadinitscripts-255a2b7db036fd4b1df99028ba6298c4b5837485.tar
initscripts-255a2b7db036fd4b1df99028ba6298c4b5837485.tar.gz
initscripts-255a2b7db036fd4b1df99028ba6298c4b5837485.tar.bz2
initscripts-255a2b7db036fd4b1df99028ba6298c4b5837485.tar.xz
initscripts-255a2b7db036fd4b1df99028ba6298c4b5837485.zip
Use net_log where appropriate.
Diffstat (limited to 'sysconfig/network-scripts/ifup-tunnel')
-rwxr-xr-xsysconfig/network-scripts/ifup-tunnel4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysconfig/network-scripts/ifup-tunnel b/sysconfig/network-scripts/ifup-tunnel
index 8fd631e5..c14e0658 100755
--- a/sysconfig/network-scripts/ifup-tunnel
+++ b/sysconfig/network-scripts/ifup-tunnel
@@ -46,14 +46,14 @@ case "$TYPE" in
/sbin/modprobe ipip
;;
*)
- echo $"Invalid tunnel type $TYPE"
+ net_log $"Invalid tunnel type $TYPE"
exit 1
;;
esac
# Generic tunnel devices are not supported here
if [ "$DEVICE" = gre0 -o "$DEVICE" = tunl0 ]; then
- echo $"Device '$DEVICE' isn't supported as a valid GRE device name."
+ net_log $"Device '$DEVICE' isn't supported as a valid GRE device name."
exit 1
fi