archboot/usr/lib/initcpio/install/arch_nmap

20 lines
371 B
Text
Raw Normal View History

2012-05-27 12:04:03 +02:00
#!/bin/bash
2011-08-30 17:14:16 +02:00
# Created by Tobias Powalowski <tpowa@archlinux.org>
build ()
{
2012-05-27 12:04:03 +02:00
apps="/usr/bin/nmap /usr/bin/ncat /usr/bin/ndiff /usr/bin/nping"
for i in $apps; do
add_binary "$i"
done
2011-08-31 16:51:00 +02:00
add_full_dir "/usr/share/nmap"
2011-08-30 17:15:10 +02:00
add_file "/usr/share/licenses/nmap/LICENSE"
2011-08-30 17:14:16 +02:00
}
help ()
{
cat<<HELPEOF
This hook includes nmap on an arch boot image.
HELPEOF
}