mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-01 01:17:02 +00:00
029e419aee
Suggested by: pst
22 lines
642 B
Bash
22 lines
642 B
Bash
#!/bin/sh
|
|
# installation script for okphone
|
|
if [ "$2" != "POST-INSTALL" ]; then
|
|
exit 0
|
|
fi
|
|
if ! grep -qw ^phone /etc/services; then
|
|
echo ""
|
|
echo "I don't see \"phone\" in your /etc/services file."
|
|
echo "You may want to add the following to your /etc/services."
|
|
echo ""
|
|
echo "phone 1167/udp #phone - conference calling"
|
|
echo ""
|
|
fi
|
|
if ! grep -qw ^phone /etc/inetd.conf; then
|
|
echo ""
|
|
echo "I don't see \"phone\" in your /etc/inetd.conf file."
|
|
echo "You may want to add the following to your /etc/inetd.conf."
|
|
echo ""
|
|
echo "phone dgram udp wait root /usr/local/libexec/phoned phoned"
|
|
echo ""
|
|
fi
|