This commit is contained in:
Kroese
2023-03-28 18:42:02 +02:00
parent 6c2d715cf9
commit 8105a0de8e
5 changed files with 31 additions and 36 deletions

View File

@@ -1,7 +1,7 @@
#!/bin/bash
permanent="PSN"
serialstart="1960"
permanent="DSM"
serialstart="2000"
serialnum="$(echo "$serialstart" | tr ' ' '\n' | sort -R | tail -1)$permanent"$(printf "%06d" $(($RANDOM % 30000 + 1)))
echo $serialnum