:: Re: [DNG] /var/lib/dbus/machine-id …
Forside
Slet denne besked
Besvar denne besked
Skribent: al3xu5 / dotcommon
Dato:  
Til: dng
Emne: Re: [DNG] /var/lib/dbus/machine-id -- new dbus version
Il giorno lunedì 11/03/2019 11:04:53 +0100
aitor_czr <aitor_czr@???> ha scritto:

> > Unitil I will migrate to Beowulf, I guess adopt this proposed solution:
> >
> > 1) symlink /etc/machine-id to /var/lib/dbus/machine-id
> >
> > 2) run boot: echo date +%s%N | md5sum | cut -c 1-32
> > > /var/lib/dbus/machine-id
> >
> > So please help me: what is the right way to run the previous command at
> > each boot?
>
> The short answer, locate it in /etc/init.d and give permissions to it:
>
> # chmod +x <script>
>
> and then run:
>
> # update-rc.d <script> defaults
>
> [...]



Ok... Indeed, this confirm what I had tought...

Thank you and thanks to the other people for thei suggestions.

Regards

--
al3xu5

Say NO to copyright, patents, trademarks and any industrial design restrictions.
________________________________________________________________________________
Public GPG/PGP key block
ID:           4096 bit RSA key 69C5977BF94CFE23
Fingerprint:  59C6 9DC7 CD4B CF2F A190  E3DE 69C5 977B F94C FE23