Closed tavinus closed 8 years ago
Wow, thank you Tavinus. You are actually the first person to submit a pr for my FireMotD project! I'll have a look at what you scripted asap!
@tavinus How are you installing FireMotD with this makefile?
Ops.. sorry for the delay.
The makefile is kind of optional, but I like having that option.
Just sudo make install
will install the script to /usr/local/bin/FireMotD
(and set exec permissions). One can change the variable IDIR=/usr/local/bin
on the makefile to install somewhere else. I was using /usr/local/sbin but that is not on the default $PATH on many systems.
Then sudo make bash_completion
will install the bash completion script to /etc/bash_completion.d/FireMotD
(Bash completion must be enabled on the system to work).
Finally: sudo make uninstall
will remove both the script and bash completion.
I understand that some people will not want this system-wide available. But some will, so its there.
I have added the makefile and cron information (for the updates) to the readme.md file.
Glad to be of some help. Thanks for the script!
Cheers! Gus (Tavinus)
Man.... not too sure why but I was trying to rebase to upstream (yours) and got lots of conflicts. After some research I was able to reset it to yours. It is probably a good idea to use the dev branch to make pull requests. Cheers!