Skip to content

Commit

Permalink
Make the .bashrc take effect
Browse files Browse the repository at this point in the history
  • Loading branch information
ophub committed Mar 9, 2022
1 parent b3167c7 commit 5cead16
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions rebuild
Original file line number Diff line number Diff line change
Expand Up @@ -521,6 +521,9 @@ refactor_files() {
# Custom banner name
sed -i "s|BOARD_NAME=.*|BOARD_NAME=\"Aml ${soc}\"|g" ${armbian_release_file} 2>/dev/null

# Make the .bashrc take effect
echo '[ -f "${HOME}/.bashrc" ] && . ${HOME}/.bashrc' >>etc/profile

# Add tasks that need to be executed on initial startup
armbian_firstrun="usr/lib/armbian/armbian-firstrun"
sed -i '/armbian-release/i\sudo apt-get -qq purge -y linux-image-current-meson64' ${armbian_firstrun} 2>/dev/null
Expand Down

0 comments on commit 5cead16

Please sign in to comment.