Tiny Core Base > Micro Core

[Solved] hosts

(1/2) > >>

sosjozsef:
Sorry, I speak a little English.

The /opt/.filetool.lst file last line is:

etc/hosts

Run: filetool.sh -b

Reboot. Not saved (backup) /etc/hosts file. Why?

bmarkus:
Which MC version?

curaga:
See /opt/bootsync.sh and /usr/bin/sethostname.

sosjozsef:

--- Quote from: bmarkus on December 29, 2011, 10:38:30 PM ---Which MC version?

--- End quote ---
The Core Project Version 4.2

sosjozsef:

--- Quote from: curaga on December 29, 2011, 11:59:49 PM ---See /opt/bootsync.sh and /usr/bin/sethostname.

--- End quote ---

hosts:

--- Code: ---127.0.0.1 box localhost
--- End code ---

bootsync.sh:

--- Code: ---/usr/bin/sethostname box
/usr/bin/sethostname sos
--- End code ---

Reboot.


--- Code: ---tc@sos
--- End code ---

hosts:

--- Code: ---127.0.0.1 sos localhost
--- End code ---

I would like hosts file after reboot:


--- Code: ---127.0.0.1 box
127.0.0.1 sos
--- End code ---

Navigation

[0] Message Index

[#] Next page

Go to full version