summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/boot/arguments.sh2
-rwxr-xr-xscripts/boot/misc-helpers.sh2
-rwxr-xr-xscripts/boot/mount-cifs.sh2
-rwxr-xr-xscripts/boot/mount-http.sh2
-rwxr-xr-xscripts/boot/mount-iscsi.sh2
-rwxr-xr-xscripts/boot/mount-nfs.sh2
-rwxr-xr-xscripts/boot/netboot.sh2
-rwxr-xr-xscripts/boot/networking.sh2
-rwxr-xr-xscripts/boot/overlay.sh2
-rwxr-xr-xscripts/boot/snapshot.sh2
-rwxr-xr-xscripts/boot/toram-todisk.sh2
11 files changed, 22 insertions, 0 deletions
diff --git a/scripts/boot/arguments.sh b/scripts/boot/arguments.sh
index 07c9d9a..6b4e553 100755
--- a/scripts/boot/arguments.sh
+++ b/scripts/boot/arguments.sh
@@ -1,5 +1,7 @@
#!/bin/sh
+#set -e
+
Arguments ()
{
PRESEEDS=""
diff --git a/scripts/boot/misc-helpers.sh b/scripts/boot/misc-helpers.sh
index 202ebe6..fe45ee1 100755
--- a/scripts/boot/misc-helpers.sh
+++ b/scripts/boot/misc-helpers.sh
@@ -1,5 +1,7 @@
#!/bin/sh
+#set -e
+
is_in_list_separator_helper () {
local sep=${1}
shift
diff --git a/scripts/boot/mount-cifs.sh b/scripts/boot/mount-cifs.sh
index 24fef88..a8ef3f4 100755
--- a/scripts/boot/mount-cifs.sh
+++ b/scripts/boot/mount-cifs.sh
@@ -1,5 +1,7 @@
#!/bin/sh
+#set -e
+
do_cifsmount ()
{
rc=1
diff --git a/scripts/boot/mount-http.sh b/scripts/boot/mount-http.sh
index 99851b9..1b718c0 100755
--- a/scripts/boot/mount-http.sh
+++ b/scripts/boot/mount-http.sh
@@ -1,5 +1,7 @@
#!/bin/sh
+#set -e
+
do_httpmount ()
{
rc=1
diff --git a/scripts/boot/mount-iscsi.sh b/scripts/boot/mount-iscsi.sh
index e9cd9cf..35e2b46 100755
--- a/scripts/boot/mount-iscsi.sh
+++ b/scripts/boot/mount-iscsi.sh
@@ -1,5 +1,7 @@
#!/bin/sh
+#set -e
+
do_iscsi()
{
do_netsetup
diff --git a/scripts/boot/mount-nfs.sh b/scripts/boot/mount-nfs.sh
index 797bfa5..6a3ae55 100755
--- a/scripts/boot/mount-nfs.sh
+++ b/scripts/boot/mount-nfs.sh
@@ -1,5 +1,7 @@
#!/bin/sh
+#set -e
+
do_nfsmount ()
{
rc=1
diff --git a/scripts/boot/netboot.sh b/scripts/boot/netboot.sh
index 763a258..5054fb8 100755
--- a/scripts/boot/netboot.sh
+++ b/scripts/boot/netboot.sh
@@ -1,5 +1,7 @@
#!/bin/sh
+#set -e
+
do_netmount()
{
do_netsetup
diff --git a/scripts/boot/networking.sh b/scripts/boot/networking.sh
index 268770e..3d22a90 100755
--- a/scripts/boot/networking.sh
+++ b/scripts/boot/networking.sh
@@ -1,5 +1,7 @@
#!/bin/sh
+#set -e
+
do_netsetup ()
{
modprobe -q af_packet # For DHCP
diff --git a/scripts/boot/overlay.sh b/scripts/boot/overlay.sh
index 193c510..17a47e1 100755
--- a/scripts/boot/overlay.sh
+++ b/scripts/boot/overlay.sh
@@ -1,5 +1,7 @@
#!/bin/sh
+#set -e
+
setup_unionfs ()
{
image_directory="${1}"
diff --git a/scripts/boot/snapshot.sh b/scripts/boot/snapshot.sh
index 3c9ebcd..568fda7 100755
--- a/scripts/boot/snapshot.sh
+++ b/scripts/boot/snapshot.sh
@@ -1,5 +1,7 @@
#!/bin/sh
+#set -e
+
do_snap_copy ()
{
fromdev="${1}"
diff --git a/scripts/boot/toram-todisk.sh b/scripts/boot/toram-todisk.sh
index 6164dee..2643eb8 100755
--- a/scripts/boot/toram-todisk.sh
+++ b/scripts/boot/toram-todisk.sh
@@ -1,5 +1,7 @@
#!/bin/sh
+#set -e
+
copy_live_to ()
{
copyfrom="${1}"