mirror of
https://github.com/cimryan/teslausb.git
synced 2026-03-01 04:30:33 +00:00
Move installation of the hping3 package to run/cifs_archive/verify-archive-configuration.sh
This commit is contained in:
@@ -22,12 +22,6 @@ function configure_archive () {
|
|||||||
echo "Configured the archive."
|
echo "Configured the archive."
|
||||||
}
|
}
|
||||||
|
|
||||||
function install_required_packages () {
|
|
||||||
apt-get -y --force-yes install hping3
|
|
||||||
}
|
|
||||||
|
|
||||||
install_required_packages
|
|
||||||
|
|
||||||
ARCHIVE_SERVER_IP_ADDRESS="$( $INSTALL_DIR/lookup-ip-address.sh "$archiveserver" )"
|
ARCHIVE_SERVER_IP_ADDRESS="$( $INSTALL_DIR/lookup-ip-address.sh "$archiveserver" )"
|
||||||
|
|
||||||
configure_archive "$ARCHIVE_SERVER_IP_ADDRESS"
|
configure_archive "$ARCHIVE_SERVER_IP_ADDRESS"
|
||||||
@@ -43,6 +43,13 @@ function check_archive_mountable () {
|
|||||||
umount "$test_mount_location"
|
umount "$test_mount_location"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function install_required_packages () {
|
||||||
|
apt-get -y --force-yes install hping3
|
||||||
|
}
|
||||||
|
|
||||||
|
install_required_packages
|
||||||
|
|
||||||
|
|
||||||
ARCHIVE_SERVER_IP_ADDRESS="$( $INSTALL_DIR/lookup-ip-address.sh "$archiveserver" )"
|
ARCHIVE_SERVER_IP_ADDRESS="$( $INSTALL_DIR/lookup-ip-address.sh "$archiveserver" )"
|
||||||
|
|
||||||
check_archive_server_reachable
|
check_archive_server_reachable
|
||||||
|
|||||||
Reference in New Issue
Block a user