update to upstream 5.3.4
[automated-distro-installer] / fai / config / class / 10-base-classes
index eed0846e2e8f47971a78361847abc0f6280cc1d6..3d03c8f54a5e0274edfd4f2be241a70a0a8413ab 100755 (executable)
@@ -1,5 +1,10 @@
 #! /bin/bash
 
+# do only execute if this is called on the client being installed. Do not use during fai-diskimage
+if [ X$FAI_ACTION = Xinstall -a $do_init_tasks -eq 0 ]; then
+    exit 0
+fi
+
 # Echo architecture and OS name in uppercase. Do NOT remove these two lines.
 uname -s | tr '[:lower:]' '[:upper:]'
 [ -x "`which dpkg`" ] && dpkg --print-architecture | tr a-z A-Z