%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /opt/bitnami/scripts/init/
Upload File :
Create Path :
Current File : /opt/bitnami/scripts/init/hostname

#!/bin/sh
# 
# Assure that hostname can be resolved
# Copyright 2020 Bitnami.com All Rights Reserved
#

. /opt/bitnami/scripts/init/functions

sed -i '/# bitnami-hosts-patch/d' /etc/hosts
echo "127.0.0.1 `hostname` # bitnami-hosts-patch" >> /etc/hosts

Zerion Mini Shell 1.0