:: Re: [DNG] /var/lib/dbus/machine-id …
Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: KatolaZ
Fecha:  
A: dng
Asunto: Re: [DNG] /var/lib/dbus/machine-id -- new dbus version
On Mon, Mar 11, 2019 at 10:32:57AM +0100, al3xu5 / dotcommon wrote:

[cut]

>
> Hi
>
> I am using ASCII, migrated from Jessie, migrated from Debian (maybe but
> I do not remember)...
>
> 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?
>


Just put your command in /etc/rc.local

HND

KatolaZ

-- 
[ ~.,_  Enzo Nicosia aka KatolaZ - Devuan -- Freaknet Medialab  ]  
[     "+.  katolaz [at] freaknet.org --- katolaz [at] yahoo.it  ]
[       @)   http://kalos.mine.nu ---  Devuan GNU + Linux User  ]
[     @@)  http://maths.qmul.ac.uk/~vnicosia --  GPG: 0B5F062F  ] 
[ (@@@)  Twitter: @KatolaZ - skype: katolaz -- github: KatolaZ  ]