- add configuration for samba
- rework of init scripts
This commit is contained in:
Stephan Raue 2009-11-06 15:22:27 +01:00
parent 2a38dcd07e
commit d3aa17dfd4
4 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,10 @@
<?xml version="1.0" standalone='no'?><!--*-nxml-*-->
<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
<service-group>
<name replace-wildcards="yes">Samba Server on %h</name>
<service>
<type>_smb._tcp</type>
<port>139</port>
</service>
</service-group>

View File

@ -31,6 +31,8 @@ mkdir -p $INSTALL/etc/avahi
mkdir -p $INSTALL/etc/avahi/services
cp -PR $PKG_BUILD/avahi-daemon/sftp-ssh.service $INSTALL/etc/avahi/services
cp -PR $PKG_BUILD/avahi-daemon/ssh.service $INSTALL/etc/avahi/services
cp -PR $PKG_DIR/config/http.service $INSTALL/etc/avahi/services
cp -PR $PKG_DIR/config/samba.service $INSTALL/etc/avahi/services
mkdir -p $INSTALL/etc/dbus-1/system.d
cp -PR $PKG_BUILD/avahi-daemon/avahi-dbus.conf $INSTALL/etc/dbus-1/system.d