Ville Skyttä 310eb69245 Add wol(1) completion.
May need a bit of work, see failing test case ("wol 00:").
2010-05-10 00:57:16 +03:00

17 lines
424 B
Bash
Executable File

#!/bin/sh
# Dummy "arp -an" emulator
# Linux
echo "? (0.0.0.0) at 00:00:00:00:00:00 [ether] on eth0"
# FreeBSD
echo "? (0.0.0.0) at 11:11:11:11:11:11 on bge0 expires in 5 seconds [ethernet]"
# Solaris
cat <<EOF
Device IP Address Mask Flags Phys Addr
------ -------------------- --------------- -------- ---------------
ce0 0.0.0.0 255.255.255.255 o 22:22:22:22:22:22
EOF