From 739c65c54cb0e957df5e9b76f93fb02554e5cac3 Mon Sep 17 00:00:00 2001 From: davidovski Date: Wed, 4 May 2022 23:52:30 +0100 Subject: moved everything to new file formatting --- extra/openrc/machine-id.initd | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 extra/openrc/machine-id.initd (limited to 'extra/openrc/machine-id.initd') diff --git a/extra/openrc/machine-id.initd b/extra/openrc/machine-id.initd deleted file mode 100644 index bdd0698..0000000 --- a/extra/openrc/machine-id.initd +++ /dev/null @@ -1,17 +0,0 @@ -#!/sbin/openrc-run - -description="Generate machine-id if needed" - -depend() { - need root dev -} - -start() { - if [ -s /etc/machine-id ] ; then - return 0 - fi - ebegin "Generating machine-id" - dd if=/dev/urandom status=none bs=16 count=1 \ - | md5sum | cut -d' ' -f1 > /etc/machine-id - eend $? -} -- cgit v1.2.1