aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@gmail.com>2009-07-01 13:30:16 -0400
committerScott Ullrich <sullrich@gmail.com>2009-07-01 13:30:16 -0400
commit296c46de2ee43ee38504d5830d0c23316ec30220 (patch)
treeb356e41f0a0f9c3d87b7dcaf912f45ac908082ff
parent2e9f38ff4afd66b48d9782960b2c6cfed0d4d06a (diff)
downloadpfsense-packages-296c46de2ee43ee38504d5830d0c23316ec30220.tar.gz
pfsense-packages-296c46de2ee43ee38504d5830d0c23316ec30220.tar.bz2
pfsense-packages-296c46de2ee43ee38504d5830d0c23316ec30220.zip
Adding needed ssh.service and stp-ssh.service files
-rw-r--r--config/avahi/avahi.xml10
-rw-r--r--config/avahi/services/sftp-ssh.service36
-rw-r--r--config/avahi/services/ssh.service36
3 files changed, 82 insertions, 0 deletions
diff --git a/config/avahi/avahi.xml b/config/avahi/avahi.xml
index 6baef60b..59b90048 100644
--- a/config/avahi/avahi.xml
+++ b/config/avahi/avahi.xml
@@ -54,6 +54,16 @@
<prefix>/usr/local/pkg/</prefix>
<chmod>0755</chmod>
<item>http://www.pfsense.org/packages/config/avahi/avahi.inc</item>
+ </additional_files_needed>
+ <additional_files_needed>
+ <prefix>/usr/local/etc/avahi/</prefix>
+ <chmod>0755</chmod>
+ <item>http://www.pfsense.org/packages/config/avahi/services/ssh.service</item>
+ </additional_files_needed>
+ <additional_files_needed>
+ <prefix>/usr/local/etc/avahi/</prefix>
+ <chmod>0755</chmod>
+ <item>http://www.pfsense.org/packages/config/avahi/services/sftp-ssh.service</item>
</additional_files_needed>
<fields>
<field>
diff --git a/config/avahi/services/sftp-ssh.service b/config/avahi/services/sftp-ssh.service
new file mode 100644
index 00000000..c65535a8
--- /dev/null
+++ b/config/avahi/services/sftp-ssh.service
@@ -0,0 +1,36 @@
+<?xml version="1.0" standalone='no'?><!--*-nxml-*-->
+<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
+
+<!-- $Id$ -->
+
+<!--
+ This file is part of avahi.
+
+ avahi is free software; you can redistribute it and/or modify it
+ under the terms of the GNU Lesser General Public License as
+ published by the Free Software Foundation; either version 2 of the
+ License, or (at your option) any later version.
+
+ avahi is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with avahi; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+ 02111-1307 USA.
+-->
+
+<!-- See avahi.service(5) for more information about this configuration file -->
+
+<service-group>
+
+ <name replace-wildcards="yes">SFTP File Transfer on %h</name>
+
+ <service>
+ <type>_sftp-ssh._tcp</type>
+ <port>22</port>
+ </service>
+
+</service-group>
diff --git a/config/avahi/services/ssh.service b/config/avahi/services/ssh.service
new file mode 100644
index 00000000..a493444e
--- /dev/null
+++ b/config/avahi/services/ssh.service
@@ -0,0 +1,36 @@
+<?xml version="1.0" standalone='no'?><!--*-nxml-*-->
+<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
+
+<!-- $Id$ -->
+
+<!--
+ This file is part of avahi.
+
+ avahi is free software; you can redistribute it and/or modify it
+ under the terms of the GNU Lesser General Public License as
+ published by the Free Software Foundation; either version 2 of the
+ License, or (at your option) any later version.
+
+ avahi is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with avahi; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+ 02111-1307 USA.
+-->
+
+<!-- See avahi.service(5) for more information about this configuration file -->
+
+<service-group>
+
+ <name replace-wildcards="yes">%h</name>
+
+ <service>
+ <type>_ssh._tcp</type>
+ <port>22</port>
+ </service>
+
+</service-group>