diff --git a/scripts/archive.tar.gz b/scripts/archive.tar.gz index 601efb0..3200392 100644 Binary files a/scripts/archive.tar.gz and b/scripts/archive.tar.gz differ diff --git a/scripts/generic_install.sh b/scripts/generic_install.sh index fdf9732..e818a37 100644 --- a/scripts/generic_install.sh +++ b/scripts/generic_install.sh @@ -91,7 +91,7 @@ fancy_echo "${PURPLE}Updating system packages${RESET}" else echo $sudoPW | sudo -S apt-get -y -q --force-yes update echo $sudoPW | sudo -S apt-get -y -q --force-yes upgrade - echo $sudoPW | sudo -S apt-get --assume-yes install build-essential git nginx htop screen wget curl xorg openbox libasound + echo $sudoPW | sudo -S apt-get --assume-yes install build-essential git nginx htop screen wget curl xorg openbox libasound2 echo $sudoPW | sudo -S apt-get -y -q --force-yes clean fi fi @@ -104,6 +104,8 @@ if [[ ! -f "$SWAP" ]]; then echo $sudoPW | sudo -S chmod 600 $SWAP echo $sudoPW | sudo -S mkswap $SWAP echo $sudoPW | sudo -S swapon $SWAP + + add /swapfile/swapfile none swap defaults 0 0 to /etc/fstab fi # setup node and npm