This commit is contained in:
Kroese
2023-03-30 20:05:36 +02:00
parent 56126fccd8
commit 522044a3e5
2 changed files with 1 additions and 1 deletions

7
serial/serial.sh Normal file
View File

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