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

Draft: M17 support #49

Open
wants to merge 15 commits into
base: master
Choose a base branch
from
Open

Draft: M17 support #49

wants to merge 15 commits into from

Conversation

nolith
Copy link

@nolith nolith commented Dec 19, 2021

This goes in pair with AndyTaylorTweet/Pi-Star_DV_Dash#140

Copy link
Author

@nolith nolith left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I opened this PR as support for AndyTaylorTweet/Pi-Star_DV_Dash#140

It should not contain the patching scripts once ready to merge.

ipVar=`hostname -I | cut -d' ' -f1`

case "$1" in
install)
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This section of the script can be removed once this is part of a regular pirstar-upgrade process

@@ -13,7 +13,7 @@ mount -o remount,rw /
/usr/local/sbin/HostFilesUpdate.sh

# Update the Dashboard from GIT
git --work-tree=/var/www/dashboard --git-dir=/var/www/dashboard/.git pull origin master
git --work-tree=/var/www/dashboard --git-dir=/var/www/dashboard/.git pull nolith M17
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To revert back before the merge

@@ -37,10 +38,10 @@ systemctl stop dmrgateway.service > /dev/null 2>&1
systemctl stop timeserver.service > /dev/null 2>&1

# Update the Binaries
git --work-tree=/usr/local/bin --git-dir=/usr/local/bin/.git pull origin master
git --work-tree=/usr/local/bin --git-dir=/usr/local/bin/.git pull nolith M17
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To revert back before the merge


# Update the Binaries (sbin)
git --work-tree=/usr/local/sbin --git-dir=/usr/local/sbin/.git pull origin master
git --work-tree=/usr/local/sbin --git-dir=/usr/local/sbin/.git pull nolith M17
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To revert back before the merge

# #
##############################################################################
# Install with
# curl https://raw.githubusercontent.com/nolith/Pi-Star_Binaries_sbin/M17/pistar-install-m17 | sudo bash -
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

File to remove before merge

@@ -0,0 +1,46 @@
#!/bin/bash
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

File to remove before the merge

Comment on lines +24 to +25
gitRemote="nolith"
gitBranch="M17"
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This makes things easier when experimenting with a pistar branch, but it must go back to origin/master before the merge.

Suggested change
gitRemote="nolith"
gitBranch="M17"
gitRemote="origin"
gitBranch="master"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant