File: statd.postinst

package info (click to toggle)
glcpu 1.0.1-6.2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 136 kB
  • ctags: 64
  • sloc: cpp: 592; makefile: 77; sh: 16
file content (12 lines) | stat: -rw-r--r-- 313 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
#DEBHELPER#

update-inetd --group INFO --add '7687\t\tstream\ttcp\tnowait\troot\t/usr/sbin/tcpd\t/usr/sbin/statd'

if [ -x /etc/init.d/inetd ]; then
        if [ -x /usr/sbin/invoke-rc.d ] ; then
               invoke-rc.d inetd reload
        else
               /etc/init.d/inetd reload
        fi
fi