mirror of
https://github.com/RasppleII/a2server.git
synced 2025-04-18 02:42:15 +00:00
Remove a2server-update/a2server-setup aliases
The replacement update mechanism will be a script installed on your system. The advantage of downloading the update mechanism before running it is that it allows you to upgrade the upgrade mechanism. Naturally the disadvantage is that you have to download it. Debian systems have a mechanism for this; we'll use it.
This commit is contained in:
parent
0299a65e45
commit
a7ff9544bc
@ -2,10 +2,10 @@
|
||||
# vim: set tabstop=4 shiftwidth=4 noexpandtab filetype=sh:
|
||||
|
||||
alias a2server-help="more /usr/local/etc/a2server-help.txt"
|
||||
alias a2server-setup='wget -q -O /tmp/a2server-setup ${A2SERVER_SCRIPT_URL:-https://raw.githubusercontent.com/RasppleII/a2server/current/}setup/index.txt || { echo "Can'"'"'t download A2SERVER setup scripts. Do you has internet?"; false; } && source /tmp/a2server-setup'
|
||||
|
||||
|
||||
alias a2server-version="cat /usr/local/etc/A2SERVER-version"
|
||||
alias a2server-update='wget -q -O /tmp/a2server-update ${A2SERVER_SCRIPT_URL:-https://raw.githubusercontent.com/RasppleII/a2server/current/}update/index.txt || { echo "Can'"'"'t download A2SERVER setup scripts. Do you has internet?"; false; } && source /tmp/a2server-update'
|
||||
|
||||
|
||||
alias system-shutdown='sudo shutdown -h now'
|
||||
alias system-restart='sudo shutdown -r now'
|
||||
|
Loading…
x
Reference in New Issue
Block a user