summaryrefslogtreecommitdiff
path: root/core/systemd/systemd-tools.install
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-06-28 00:01:48 +0000
committerroot <root@rshg054.dnsready.net>2012-06-28 00:01:48 +0000
commitad4cbb616af1b40790c6533f1d5b98dbd7aaa199 (patch)
treebb9eaf0dec4bf5c449ccc9236b02ea993f69f9fe /core/systemd/systemd-tools.install
parent5aee7ab49f65d6fee1182bfcacf92192ad36c4af (diff)
Thu Jun 28 00:01:48 UTC 2012
Diffstat (limited to 'core/systemd/systemd-tools.install')
-rw-r--r--core/systemd/systemd-tools.install6
1 files changed, 6 insertions, 0 deletions
diff --git a/core/systemd/systemd-tools.install b/core/systemd/systemd-tools.install
index c1c19d15d..7d0bd8790 100644
--- a/core/systemd/systemd-tools.install
+++ b/core/systemd/systemd-tools.install
@@ -1,7 +1,13 @@
# arg 1: the new package version
# arg 2: the old package version
+post_install() {
+ systemd-machine-id-setup
+}
+
post_upgrade() {
+ systemd-machine-id-setup
+
if [ "$(vercmp $2 174)" -lt 0 ]; then
echo " * We now use upstream rules for assigning devices to the 'disk', 'optical',"
echo " 'scanner' and 'video' groups. Beware of any changes."