This commit is contained in:
Kroese
2023-03-28 18:42:02 +02:00
parent d9caf7e26c
commit e7796f83d0
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