]> git.proxmox.com Git - pve-firewall.git/commitdiff
do not start daemons during installation
authorDietmar Maurer <dietmar@proxmox.com>
Mon, 8 Sep 2014 10:25:13 +0000 (12:25 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Mon, 8 Sep 2014 10:25:13 +0000 (12:25 +0200)
debian/pve-firewall.init
debian/pvefw-logger.init

index 0c002a79a418ca2ef7c06fb7f49dbabb1becea42..dcd1dfffaf0534796aa0f54c52b7f837915d3804 100755 (executable)
@@ -19,7 +19,8 @@ PIDFILE=/var/run/$NAME.pid
 
 # Exit if the package is not installed
 [ -x "$DAEMON" ] || exit 0
 
 # Exit if the package is not installed
 [ -x "$DAEMON" ] || exit 0
-
+[ -e /proxmox_install_mode ] && exit 0
 START_FIREWALL=yes
 
 # Read configuration variable file if it is present
 START_FIREWALL=yes
 
 # Read configuration variable file if it is present
index 67367cc75806ebc46ffd96e04d467a32f7bf8afd..1035e390f45120e5e665172da0b32ab793f18ab4 100755 (executable)
@@ -18,6 +18,7 @@ DESC="PVE firewall logger"
 PIDFILE=/var/run/pvefw-logger.pid
 
 test -f $DAEMON || exit 0
 PIDFILE=/var/run/pvefw-logger.pid
 
 test -f $DAEMON || exit 0
+[ -e /proxmox_install_mode ] && exit 0
 
 # avoid warnings about uninstalled locales
 export LC_ALL="C"
 
 # avoid warnings about uninstalled locales
 export LC_ALL="C"