diff options
Diffstat (limited to 'functions')
-rwxr-xr-x | functions/defaults.sh | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh index e9e3d144a..3b7b02d79 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 } |