[arm-allstar] Update V1.5.3-45
David McGough
kb4fxc at inttek.net
Tue Nov 13 12:42:48 EST 2018
Hi Fred,
I was already considering adding a /root/.bashrc-local and
/root/.bash_profile-local capability, so that users can keep their
additions from getting overwritten.
73, David KB4FXC
On Tue, 13 Nov 2018, "Fred Erickson via ARM-allstar" wrote:
> On Mon, 12 Nov 2018 18:47:23 -0800
> "\"Glenn Morgon via ARM-allstar\"" <arm-allstar at hamvoip.org> wrote:
>
> > Doug, I noticed that after doing the update the .bashrc file is wiped
> > and replaced with a default one, which wipes out alias definitions I
> > have placed in mine. Is it possible to have this file removed from
> > being updated?
> >
> > Thank you,
> > Glenn
> > N8HC
>
> Is there some reason not to use a file like .bash_aliases in the
> hamvoip software? I don't have an allstar node myself so haven't tried
> this but my Fedora, Mint, and Raspbian .bashrc files contain a section
> like the one below. Then I keep any aliases I create in a file
> called .bash_aliases so system updates don't delete them.
>
> # Alias definitions.
> # You may want to put all your additions into a separate file like
> # ~/.bash_aliases, instead of adding them here directly.
> # See /usr/share/doc/bash-doc/examples in the bash-doc package.
>
> if [ -f ~/.bash_aliases ]; then
> . ~/.bash_aliases
> fi
>
> ------------------------
> Sample of .bash_aliases
>
> #
> # alias to run 'whoiscall.sh' by typing 'ham callsign'
> #
> alias ham=~/scripts/whoiscall.sh
> _______________________________________________
>
> ARM-allstar mailing list
> ARM-allstar at hamvoip.org
> http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
>
> Visit the BBB and RPi2/3 web page - http://hamvoip.org
>
More information about the ARM-allstar
mailing list