Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dealing with more warnings and deprecations. #1023

Merged
merged 1 commit into from
Feb 17, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion scripts/chiadog_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ if [[ (${mode} =~ ^fullnode.* || ${mode} =~ "harvester") && ${blockchains} != '
fi
echo 'Configuring Chiadog...'
mkdir -p /root/.chia/chiadog/logs
cp -n /machinaris/config/chiadog/${blockchains}.sample.yaml /root/.chia/chiadog/config.yaml
cp --update=none /machinaris/config/chiadog/${blockchains}.sample.yaml /root/.chia/chiadog/config.yaml
sed -i "s/\$HOSTNAME/`hostname -s`/g" /root/.chia/chiadog/config.yaml
cp -f /machinaris/scripts/chiadog_notifier.sh /root/.chia/chiadog/notifier.sh && chmod 755 /root/.chia/chiadog/notifier.sh
echo 'Starting Chiadog...'
Expand Down
2 changes: 1 addition & 1 deletion scripts/forktools_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ if [[ "${forktools_skip_build}" != 'true' ]]; then
bash installft.sh

mkdir -p /root/.chia/forktools/ftconfigs
cp -n ftconfigs/* /root/.chia/forktools/ftconfigs > /dev/null
cp --update=none ftconfigs/* /root/.chia/forktools/ftconfigs > /dev/null
rm -rf ftconfigs
ln -s /root/.chia/forktools/ftconfigs ftconfigs

Expand Down
8 changes: 4 additions & 4 deletions scripts/start_machinaris.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@ echo 'Configuring Plotman...'
mkdir -p /root/.chia/plotman/logs
if [[ "${blockchains}" == 'chives' ]]; then
cp -f /machinaris/config/plotman.sample-chives.yaml /root/.chia/plotman/plotman.sample.yaml
cp -n /machinaris/config/plotman.sample-chives.yaml /root/.chia/plotman/plotman.yaml
cp --update=none /machinaris/config/plotman.sample-chives.yaml /root/.chia/plotman/plotman.yaml
elif [[ "${blockchains}" == 'mmx' ]]; then
cp -f /machinaris/config/plotman.sample-mmx.yaml /root/.chia/plotman/plotman.sample.yaml
cp -n /machinaris/config/plotman.sample-mmx.yaml /root/.chia/plotman/plotman.yaml
cp --update=none /machinaris/config/plotman.sample-mmx.yaml /root/.chia/plotman/plotman.yaml
elif [[ "${blockchains}" == 'gigahorse' ]]; then
cp -f /machinaris/config/plotman.sample-gigahorse.yaml /root/.chia/plotman/plotman.sample.yaml
cp -n /machinaris/config/plotman.sample-gigahorse.yaml /root/.chia/plotman/plotman.yaml
cp --update=none /machinaris/config/plotman.sample-gigahorse.yaml /root/.chia/plotman/plotman.yaml
else # If Chia
cp -f /machinaris/config/plotman.sample.yaml /root/.chia/plotman/plotman.sample.yaml
cp -n /machinaris/config/plotman.sample.yaml /root/.chia/plotman/plotman.yaml
cp --update=none /machinaris/config/plotman.sample.yaml /root/.chia/plotman/plotman.yaml
if [ ${farmer_pk} != 'null' ]; then
sed -i "s/^.*farmer_pk: REPLACE_WITH_THE_REAL_VALUE.*$/ farmer_pk: ${farmer_pk}/g" /root/.chia/plotman/plotman.yaml
fi
Expand Down
Loading