-
Notifications
You must be signed in to change notification settings - Fork 44
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
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this 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) |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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 - |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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
gitRemote="nolith" | ||
gitBranch="M17" |
There was a problem hiding this comment.
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.
gitRemote="nolith" | |
gitBranch="M17" | |
gitRemote="origin" | |
gitBranch="master" |
This goes in pair with AndyTaylorTweet/Pi-Star_DV_Dash#140