add audit
This commit is contained in:
+3
-2
@@ -76,13 +76,14 @@ cd ~/.local/share/MiniServer
|
||||
# Source utility functions (provides install_packages, install_script and other helpers)
|
||||
source utils.sh
|
||||
|
||||
# Install the refresh, update, sibling, version and configure scripts to the user's bin
|
||||
# Install the refresh, update, sibling, version, configure and audit scripts to the user's bin
|
||||
mkdir -p "$HOME/.local/bin"
|
||||
install_script "$HOME/.local/share/MiniServer/refresh" "$HOME/.local/bin/refresh"
|
||||
install_script "$HOME/.local/share/MiniServer/update" "$HOME/.local/bin/update"
|
||||
install_script "$HOME/.local/share/MiniServer/sibling" "$HOME/.local/bin/sibling"
|
||||
install_script "$HOME/.local/share/MiniServer/version" "$HOME/.local/bin/version"
|
||||
install_script "$HOME/.local/share/MiniServer/configure" "$HOME/.local/bin/configure"
|
||||
install_script "$HOME/.local/share/MiniServer/audit" "$HOME/.local/bin/audit"
|
||||
|
||||
# Replaced by refresh and update
|
||||
rm -f "$HOME/.local/bin/miniserverrefresh" "$HOME/.local/bin/miniserverupdate"
|
||||
@@ -142,7 +143,7 @@ cd ~/.local/share/MiniServer
|
||||
|
||||
# Set up Cockpit (installed with the utilities above)
|
||||
setup_cockpit
|
||||
echo "Cockpit is at https://$(uname -n).local:9090"
|
||||
service_turned_off cockpit.socket || echo "Cockpit is at https://$(uname -n).local:9090"
|
||||
|
||||
# Set up firewalld (installed with the utilities above)
|
||||
setup_firewall || echo "Some firewall rules could not be applied, see above. Run 'update' to retry."
|
||||
|
||||
Reference in New Issue
Block a user