diff bash @ 57:ada5b9534765

[bash] Sanitize sunos ping.
author Edho Prima Arief <me@myconan.net>
date Wed, 04 May 2011 14:02:19 +0700
parents 9343fa4dfd91
children 73b2fccc4f06
line wrap: on
line diff
--- a/bash	Fri Apr 29 16:27:09 2011 +0700
+++ b/bash	Wed May 04 14:02:19 2011 +0700
@@ -31,6 +31,8 @@
     [ -d /opt/csw/bin ] && PATH="/opt/csw/bin:${PATH}"
     [ -d /opt/csw/sbin ] && PATH="/opt/csw/sbin:${PATH}"
     [ -d /usr/gnu/bin ] && PATH="/usr/gnu/bin:${PATH}"
+    alias ping="ping -s"
+    alias ping6="ping -A inet6"
   ;;
   FreeBSD)
     _has_rm_I=y