]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
core104: add changed files
authorArne Fitzenreiter <arne_f@ipfire.org>
Sat, 6 Aug 2016 10:09:44 +0000 (12:09 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Sat, 6 Aug 2016 10:09:44 +0000 (12:09 +0200)
customservices and openssh.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
config/rootfiles/core/104/filelists/files
config/rootfiles/core/104/filelists/openssh [new symlink]
config/rootfiles/core/104/update.sh

index 8c90a3f0ccc99f350d1aa0a43a83ab969b008a43..c172c142da442d221a45edb7efa665c073111dba 100644 (file)
@@ -10,4 +10,5 @@ srv/web/ipfire/cgi-bin/logs.cgi/log.dat
 srv/web/ipfire/html/themes/ipfire/include/functions.pl
 srv/web/ipfire/html/themes/ipfire/include/js/refreshInetInfo.js
 var/ipfire/langs
+var/ipfire/fwhosts/customservices.default
 var/ipfire/updatexlrator/bin/download
diff --git a/config/rootfiles/core/104/filelists/openssh b/config/rootfiles/core/104/filelists/openssh
new file mode 120000 (symlink)
index 0000000..d8c77fd
--- /dev/null
@@ -0,0 +1 @@
+../../../common/openssh
\ No newline at end of file
index 874b411769f2a982ab5b0d7e1fb80d4987d77b95..3988a9dabd82de798510d56ffcd2c8c2a233246d 100644 (file)
@@ -132,12 +132,18 @@ esac
 /etc/init.d/snort stop
 /etc/init.d/squid stop
 /etc/init.d/dnsmasq stop
+/etc/init.d/sshd stop
 /etc/init.d/ipsec stop
 /etc/init.d/apache stop
 
 # Extract files
 tar xavf /opt/pakfire/tmp/files* --no-overwrite-dir -p --numeric-owner -C /
 
+# Update customservices
+cp /var/ipfire/fwhosts/customservices /var/ipfire/fwhosts/customservices.old
+echo 35,Submission (TCP),587,TCP,BLANK,0 >> /var/ipfire/fwhosts/customservices
+echo 36,SSMTP,465,TCP,BLANK,0 >> /var/ipfire/fwhosts/customservices
+
 # Remove some old files
 rm -f /bin/groups /lib/libshadow.so.0*
 
@@ -174,7 +180,7 @@ fi
 /etc/init.d/collectd start
 /etc/init.d/apache start
 /etc/init.d/dnsmasq start
-/etc/init.d/sshd restart
+/etc/init.d/sshd start
 /etc/init.d/squid start
 /etc/init.d/snort start
 if [ `grep "ENABLED=on" /var/ipfire/vpn/settings` ]; then