systemd/module-setup.sh: only create empty machine-id if non existing
parent
44cf581732
commit
3639d2431f
|
|
@ -101,7 +101,9 @@ install() {
|
|||
/etc/vconsole.conf \
|
||||
/etc/locale.conf
|
||||
else
|
||||
> "$initdir/etc/machine-id"
|
||||
if ! [[ -e "$initdir/etc/machine-id" ]]; then
|
||||
> "$initdir/etc/machine-id"
|
||||
fi
|
||||
fi
|
||||
|
||||
ln -fs $systemdutildir/systemd "$initdir/init"
|
||||
|
|
|
|||
Loading…
Reference in New Issue