summaryrefslogtreecommitdiffstats
path: root/japanese/okphone/pkg-install
blob: 2ee29e1e598d45530dd4f067f3ec1f268de3d10c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/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
OpenPOWER on IntegriCloud