Load bundled personal defaults when no saved profile exists
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
set -eu
|
||||
cd "$(dirname "$0")/.."
|
||||
config_dir=apps/meshport_lab/assets/config
|
||||
if [ -f "$config_dir/default.private.toml" ]; then
|
||||
cp "$config_dir/default.private.toml" "$config_dir/default.toml"
|
||||
else
|
||||
cp "$config_dir/default.example.toml" "$config_dir/default.toml"
|
||||
fi
|
||||
chmod 600 "$config_dir/default.toml"
|
||||
Reference in New Issue
Block a user