#!/bin/bash sed -i "s/#\$nrconf{kernelhints} = -1;/\$nrconf{kernelhints} = -1;/g" /etc/needrestart/needrestart.conf sed -i "/#\$nrconf{restart} = 'i';/s/.*/\$nrconf{restart} = 'a';/" /etc/needrestart/needrestart.conf apt update && apt upgrade -y curl https://sh.rustup.rs -sSf | sh -s -- -y source "$HOME/.cargo/env" export PATH=$PATH:/root/.cargo/bin apt install lsb-release curl gpg curl -fsSL https://packages.redis.io/gpg | gpg --dearmor -o /usr/share/keyrings/redis-archive-keyring.gpg echo "deb [signed-by=/usr/share/keyrings/redis-archive-keyring.gpg] https://packages.redis.io/deb $(lsb_release -cs) main" | tee /etc/apt/sources.list.d/redis.list apt-get update apt-get install redis -y apt install pkg-config -y apt-get install gcc -y apt install libssl-dev curl https://raw.githubusercontent.com/freeflowuniverse/crystallib/development/scripts/installer_hero.sh > /tmp/hero_install.sh bash /tmp/hero_install.sh eval $(ssh-agent) hero mdbook -u https://git.ourworld.tf/tfgrid/info_tfgrid/src/branch/main/heroscript cd /root/hero/var/mdbuild/duniayetu mdbook build cat < /dev/null; exit