Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change hostname #98

Open
Surfer2010 opened this issue Mar 26, 2023 · 1 comment
Open

change hostname #98

Surfer2010 opened this issue Mar 26, 2023 · 1 comment

Comments

@Surfer2010
Copy link

How can the hostname be changed?
where is it generated and i assume one has to mount the partion writable (mount -o remount,rw /)

@avanc
Copy link
Owner

avanc commented Mar 26, 2023

Hostname is set by the /etc/init.d/S04hostname init script. You can place a file containing the hostname under either /etc/hostname, /data/etc/hostname or /boot/hostname (i.e. first partition, will be automatically moved to /data/etc/hostname on third partition).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants