This commit is contained in:
Sebastian
2024-07-08 11:59:17 +02:00
parent 7731f31eb0
commit 4395ed71ff

View File

@@ -0,0 +1,5 @@
#!/bin/bash
if [ -f /config/p2p_node_key_txt ]; then exit 0; fi;
cast w n | grep -i 'Private Key' | awk -F ': ' '{print $2}' | sed 's/0x//' > /config/p2p_node_key_txt