Files
schmeeve-toolz/fixhostname
2026-05-10 12:53:30 -07:00

7 lines
111 B
Bash
Executable File

#!/bin/bash
hostname=`hostname`
if [ "$hostname" == "Unknown.domain" ]
then
sudo hostname Go-Sharks.local
fi