Generate random ImKeys, used in CCL project
This commit is contained in:
parent
f615923676
commit
4d77b4dbc9
1 changed files with 7 additions and 0 deletions
|
@ -25,3 +25,10 @@ gencert () {
|
|||
cd $HOME/git/ca
|
||||
echo 'Certs generated for $DOMAIN'
|
||||
}
|
||||
|
||||
# Generate a random 7 digit number, used for CCL’s ImKeys
|
||||
imkey () {
|
||||
imkey=$(shuf -i 1111111-9999999 -n1)
|
||||
|
||||
echo $imkey
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue