Skip to content

Commit

Permalink
Merge pull request billw2#5 from pqarmitage/updates
Browse files Browse the repository at this point in the history
Make rpi-clone-setup change all instances of host name and updates to refer to geerlingguy repo
  • Loading branch information
geerlingguy authored Feb 11, 2024
2 parents d73f92a + 4c99cb4 commit 2fb52fc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions rpi-clone
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
# the rpi-clone github source repository:
# https://github.com/billw2/rpi-clone

# This updated code is located in a fork of Bill Willsons git repository
# at https://github.com/framps/rpi-clone
# This updated code is located in a fork of Bill Wilson's git repository
# at https://github.com/geerlingguy/rpi-clone

version=2.0.23

Expand Down Expand Up @@ -154,12 +154,12 @@ usage: $PGM sdN {-v|--verbose} {-f|--force-initialize} {-f2}
Clones can be from a booted SD card or USB disk. For a description, example
clone runs and example usage of above options, see the README.md at:
https://github.com/billw2/rpi-clone
https://github.com/geerlingguy/rpi-clone
A line logging a $PGM run is written to $clone_log.
Download:
git clone https://github.com/billw2/rpi-clone
git clone https://github.com/geerlingguy/rpi-clone
"
exit 1
}
Expand Down
2 changes: 1 addition & 1 deletion rpi-clone-setup
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ echo -e "$LINE\n"
# Edit /etc/hosts - edit the sed command if editing fails for your /etc/hosts.
#
cd $clone/etc
sed -i s/"$HOSTNAME"/"$newhost"/ hosts
sed -i s/"$HOSTNAME"/"$newhost"/g hosts
#
# Read it back to verify.
#
Expand Down

0 comments on commit 2fb52fc

Please sign in to comment.