summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2015-07-04 15:48:27 (GMT)
committerBritney Fransen <brfransen@gmail.com>2015-07-04 15:48:27 (GMT)
commitd8b7fc9c01b31a60ea46804735ea8cef3e97eb03 (patch)
treeb8585ea4e0ac30256d38f439c5b5a3509625d097 /abs
parent2ae97f9d9ade34c7149db121f622454d73a09631 (diff)
downloadlinhes_pkgbuild-d8b7fc9c01b31a60ea46804735ea8cef3e97eb03.zip
linhes_pkgbuild-d8b7fc9c01b31a60ea46804735ea8cef3e97eb03.tar.gz
linhes_pkgbuild-d8b7fc9c01b31a60ea46804735ea8cef3e97eb03.tar.bz2
LinHES-system: LinHES-session: check machine-id and create if needed
Diffstat (limited to 'abs')
-rwxr-xr-xabs/core/LinHES-system/LinHES-session10
-rwxr-xr-xabs/core/LinHES-system/PKGBUILD4
2 files changed, 12 insertions, 2 deletions
diff --git a/abs/core/LinHES-system/LinHES-session b/abs/core/LinHES-system/LinHES-session
index 4563078..ad8fb3c 100755
--- a/abs/core/LinHES-system/LinHES-session
+++ b/abs/core/LinHES-system/LinHES-session
@@ -391,6 +391,15 @@ function stop_plymouth()
fi
}
+function machine-id_check()
+{
+ if [ ! -s /etc/machine-id ]
+ then
+ echo "Setting machine ID in /etc/machine-id"
+ sudo systemd-machine-id-setup
+ fi
+}
+
if [ x"$WM" = "fluxbox" ]
then
@@ -412,6 +421,7 @@ notify_scan &
auto_start &
update_apple_trailers
stop_plymouth &
+machine-id_check &
first_configure
show_help_tip
start_myth
diff --git a/abs/core/LinHES-system/PKGBUILD b/abs/core/LinHES-system/PKGBUILD
index bcf7a73..6b8670c 100755
--- a/abs/core/LinHES-system/PKGBUILD
+++ b/abs/core/LinHES-system/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=LinHES-system
pkgver=8.3
-pkgrel=12
+pkgrel=13
arch=('i686' 'x86_64')
install=system.install
pkgdesc="Everything that makes LinHES an automated system"
@@ -77,7 +77,7 @@ package() {
}
-md5sums=('8415c4b2587a8a1e6a312484c1edafcb'
+md5sums=('76842f8cff548d2c1289e0992a8b84dd'
'de32a1c50101265dd7f6ca5037f7a26a'
'2d7b8414ddce5f401331342ac1529c22'
'76b2637cac0452b3acdbeeb4e8a5474b'