/usr/sbin/update-ebnetd.conf is in ebnetd-common 1:1.0.dfsg.1-4.3.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | #!/bin/sh
# update-ebnetd.conf
# Copyright 2000 Masato Taruishi <taru@debian.org>
# Copyright 2006 Masayuki Hatta <mhatta@debian.org>
# License: GPL
EBNETDCONF=/etc/ebnetd/ebnetd.conf
BOOKDIR=/etc/ebnetd/book.d/
if [ -f $EBNETDCONF ]; then
mv $EBNETDCONF $EBNETDCONF.backup
fi
cat > $EBNETDCONF << EOF
#
# ebnetd.conf: Automatically generated file. Do not edit by hand.
#
EOF
for i in $BOOKDIR/*; do
if ! echo $i | grep -q '\(\.dpkg-[a-z]*\|~\)$'; then
cat $i >> $EBNETDCONF
fi
done
if [ -f $EBNETDCONF ]; then
ebnupgrade
mv $EBNETDCONF.new $EBNETDCONF
fi
if [ -f $EBNETDCONF.backup ]; then
rm $EBNETDCONF.backup
fi
exit
|