mirror of
https://github.com/Retropex/raspiblitz.git
synced 2025-05-12 19:20:48 +02:00
#2939 one more char
This commit is contained in:
parent
300c410071
commit
10bb659acd
@ -24,7 +24,7 @@ while [ ${#result} -eq 0 ]
|
|||||||
l2="one word, keep characters basic & max 32chars"
|
l2="one word, keep characters basic & max 32chars"
|
||||||
dialog --backtitle "RaspiBlitz - Setup" --inputbox "$l1$l2" 11 52 2>$_temp
|
dialog --backtitle "RaspiBlitz - Setup" --inputbox "$l1$l2" 11 52 2>$_temp
|
||||||
result=$( cat $_temp | tr -dc '[:alnum:]-.' | tr -d ' ' )
|
result=$( cat $_temp | tr -dc '[:alnum:]-.' | tr -d ' ' )
|
||||||
result="${result:0:31}"
|
result="${result:0:32}"
|
||||||
sudo rm $_temp
|
sudo rm $_temp
|
||||||
done
|
done
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user