summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
Diffstat (limited to 'functions')
-rwxr-xr-xfunctions/defaults.sh20
1 files changed, 20 insertions, 0 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh
index e9e3d14..3b7b02d 100755
--- a/functions/defaults.sh
+++ b/functions/defaults.sh
@@ -849,4 +849,24 @@ Check_defaults ()
;;
esac
fi
+
+ if [ "$(echo ${LH_ISO_APPLICATION} | wc -c)" -ge 129 ]
+ then
+ Echo_error "You have specified a too long string for iso application, the maximum lenght is 128 characters."
+ fi
+
+ if [ "$(echo ${LH_ISO_PREPARER} | wc -c)" -ge 129 ]
+ then
+ Echo_error "You have specified a too long string for iso preparer, the maximum lenght is 128 characters."
+ fi
+
+ if [ "$(echo ${LH_ISO_PUBLISHER} | wc -c)" -ge 129 ]
+ then
+ Echo_error "You have specified a too long string for iso publisher, the maximum lenght is 128 characters."
+ fi
+
+ if [ "$(echo ${LH_ISO_VOLUME} | wc -c)" -ge 33 ]
+ then
+ Echo_error "You have specified a too long string for iso volume, the maximum lenght is 32 characters."
+ fi
}