File: install.sh

package info (click to toggle)
midentd 2.1-3
  • links: PTS
  • area: main
  • in suites: woody
  • size: 112 kB
  • ctags: 13
  • sloc: perl: 261; sh: 57; makefile: 40
file content (18 lines) | stat: -rwxr-xr-x 567 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh
echo Installing midentd...
touch /var/log/midentd/midentd.log
chown nobody /var/log/midentd/midentd.log
echo /var/log/midentd/midentd.log created and chowned to nobody
cp -v midentd midentd.logcycle /usr/local/sbin

if [ -d /etc/xinetd ]; then
	cp -v midentd.xinetd /etc/xinetd/midentd
elif [ -d /etc/xinetd.d ]; then
	cp -v midentd.xinetd /etc/xinetd.d/midentd
fi

mkdir /usr/doc/midentd
cp -v CHANGELOG README COPYING /usr/doc/midentd
echo
echo Now, edit /etc/inetd.conf (or /etc/xinetd.d/midentd), and perhaps add
echo midentd.logcycle to roots crontab.