]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
core118: Ship updated snort
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 7 Jan 2018 19:21:35 +0000 (19:21 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 7 Jan 2018 19:21:35 +0000 (19:21 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/rootfiles/core/118/filelists/snort [new symlink]
config/rootfiles/core/118/update.sh

diff --git a/config/rootfiles/core/118/filelists/snort b/config/rootfiles/core/118/filelists/snort
new file mode 120000 (symlink)
index 0000000..9406ce0
--- /dev/null
@@ -0,0 +1 @@
+../../../common/snort
\ No newline at end of file
index 18a167c3bb3fb8329201e0b97a84841124a9a653..60173609f88c6ff734149bfbb1350bdf484a9118 100644 (file)
@@ -31,6 +31,9 @@ for (( i=1; i<=$core; i++ )); do
        rm -f /var/cache/pakfire/core-upgrade-*-$i.ipfire
 done
 
+# Stop services
+/etc/init.d/snort stop
+
 # Delete files
 rm -rvf \
        /etc/httpd/conf.d/php5.conf \
@@ -42,8 +45,6 @@ rm -rvf \
        /usr/lib/apache/libphp5.so \
        /usr/lib/php
 
-# Stop services
-
 # Extract files
 extract_files
 
@@ -55,6 +56,7 @@ ldconfig
 
 # Start services
 /etc/init.d/apache restart
+/etc/init.d/snort start
 
 # This update need a reboot...
 #touch /var/run/need_reboot