CLI tool to control your IoT gadgets.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#!/usr/bin/bash
|
|
|
|
|
|
|
|
cfgPath="$HOME/.config/roomcomputer"
|
|
|
|
|
|
|
|
if [ -d $cfgPath ]; then
|
|
|
|
echo Config already exists.
|
|
|
|
else
|
|
|
|
mkdir $cfgPath
|
|
|
|
cp default-config.json $cfgPath/config.json
|
|
|
|
cp default-presets.json $cfgPath/presets.json
|
|
|
|
fi
|