ssb Pub/Local config

This commit is contained in:
qo-op 2020-03-23 22:32:30 +01:00
parent f6d9a28a07
commit 5c42294052
1 changed files with 1 additions and 16 deletions

View File

@ -40,23 +40,8 @@ scuttlebutt() {
nodename=$(cat /etc/hostname)
extension=$(echo $nodename | cut -d '.' -f 2)
if [[ $extension == "" ]]; then
nodename=$nodename.home
# LOCAL
cat > ~/.ssb/config <<EOF
{
"incoming": {
"net": [{ "port": 8008, "scope": "public", "transform": "shs" }]
},
"outgoing": {
"net": [{ "transform": "shs" }]
}
}
EOF
if [[ $extension != "" ]]; then
else
# PUB
cat > ~/.ssb/config <<EOF
{