#!/bin/sh #Configuration conf_file="valheim-server.ini" # No need to change anything under this line command -v steamcmd >/dev/null 2>&1 || { echo >&2 "Please install steamcmd to the path"; exit 128; } . ./lib_ini.sh server_path=$(ini_read "$conf_file" "server" "srvpath") steamcmd +@sSteamCmdForcePlatformType linux +force_install_dir "$server_path" +login anonymous +app_update 896660 public validate +quit