avahi: cleanup

- *.actions are pointless. no autoipd / dnscondfd here
- we have no httpd on port 80. remove http.service
- temp disable ssh.service. rarely used or not used at all
This commit is contained in:
Stefan Saraev 2013-07-18 16:41:00 +03:00
parent 7b19d06f98
commit d6fe778798

View File

@ -31,16 +31,13 @@ add_user avahiautoipd x 496 496 "avahi-autoipd" "/var/lib/avahi-autoipd" "/bin/s
add_group avahiautoipd 496
mkdir -p $INSTALL/etc/avahi
cp $PKG_BUILD/avahi-autoipd/avahi-autoipd.action $INSTALL/etc/avahi
cp $PKG_BUILD/avahi-daemon/avahi-daemon.conf $INSTALL/etc/avahi
# for some reason avai can fail to start see: http://forums.gentoo.org/viewtopic-p-7322172.html#7322172
sed -e "s,^.*disallow-other-stacks=.*$,disallow-other-stacks=yes,g" -i $INSTALL/etc/avahi/avahi-daemon.conf
cp $PKG_BUILD/avahi-dnsconfd/avahi-dnsconfd.action $INSTALL/etc/avahi
cp $PKG_BUILD/avahi-daemon/hosts $INSTALL/etc/avahi
mkdir -p $INSTALL/etc/avahi/services
cp $PKG_BUILD/avahi-daemon/ssh.service $INSTALL/etc/avahi/services
cp $PKG_DIR/config/http.service $INSTALL/etc/avahi/services
# cp $PKG_BUILD/avahi-daemon/ssh.service $INSTALL/etc/avahi/services
if [ $SAMBA_SERVER = "yes" ]; then
if [ -f $PROJECT_DIR/$PROJECT/avahi/samba.service ]; then