File: install

package info (click to toggle)
midentd 2.3.1-3
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, sarge
  • size: 120 kB
  • ctags: 21
  • sloc: perl: 368; sh: 64; makefile: 41
file content (20 lines) | stat: -rw-r--r-- 699 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh
echo "Installing midentd..."
touch /var/log/midentd.log
chown nobody /var/log/midentd.log
echo "/var/log/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."
echo "Or, in case you want to use midentd as a standalone daemon, put"
echo "\"/usr/local/sbin/midentd -u nobody\" into on of your startup scripts"