add other hostname for the steam deck
This commit is contained in:
parent
38593c89f9
commit
55bf362df3
2 changed files with 6 additions and 2 deletions
|
@ -16,7 +16,7 @@ SUDOERS="/etc/sudoers"
|
|||
autostartdesktop=sway
|
||||
repo=SpectreOS
|
||||
repo1=shell-scripte-code
|
||||
hostname=SpectreOS
|
||||
hostname=$(hostnamectl hostname)
|
||||
user=user1
|
||||
userpass=user1
|
||||
arch=$(uname -m)
|
||||
|
|
|
@ -679,6 +679,11 @@ function installation {
|
|||
fi
|
||||
|
||||
#hostname
|
||||
hostname=SpectreOS
|
||||
if [ "${amd}" == "deck" ]; then
|
||||
hostname="${hostname}-deck"
|
||||
fi
|
||||
|
||||
echo "${hostname}" > ${mountpoint}/etc/hostname
|
||||
echo "hostname=\"${hostname}\"" > /etc/conf.d/hostname
|
||||
|
||||
|
@ -1215,7 +1220,6 @@ function abfrage() {
|
|||
echo "You can choose with an online installation, which distrubtion you want to install!!!"
|
||||
|
||||
fi
|
||||
hostname=spectreos
|
||||
|
||||
echo "WARNING!!! Diese Methode ist wegen einer neuen UDEV Rule unnötig geworden der alle angeschlossen Laufwerke automatisch mountet ;-)"
|
||||
read -p "Should you an disk added to your fstab? : [y/udevautomountrule/N] " autodisk
|
||||
|
|
Loading…
Reference in a new issue