summaryrefslogtreecommitdiffstats
path: root/systemd/post-install
diff options
context:
space:
mode:
authorpiernov <piernov@piernov.org>2012-07-13 21:42:09 +0000
committerpiernov <piernov@piernov.org>2012-07-13 21:42:09 +0000
commit62ceecb5fcd71773d6102031916ed79dcbf1f53e (patch)
treead61cc2404fc9cf9a80922e29caf31d5206279f4 /systemd/post-install
parent796ca71e4df90dc21e6cf77d1532b5f92373570d (diff)
downloadnutyx-pakxe-62ceecb5fcd71773d6102031916ed79dcbf1f53e.tar.gz
nutyx-pakxe-62ceecb5fcd71773d6102031916ed79dcbf1f53e.tar.bz2
nutyx-pakxe-62ceecb5fcd71773d6102031916ed79dcbf1f53e.tar.xz
nutyx-pakxe-62ceecb5fcd71773d6102031916ed79dcbf1f53e.zip
systemd 186-1 ajout port
Diffstat (limited to 'systemd/post-install')
-rw-r--r--systemd/post-install10
1 files changed, 10 insertions, 0 deletions
diff --git a/systemd/post-install b/systemd/post-install
new file mode 100644
index 000000000..003009d1a
--- /dev/null
+++ b/systemd/post-install
@@ -0,0 +1,10 @@
+#!/bin/sh
+/usr/bin/systemd-machine-id-setup
+systemctl enable getty@.service
+getent group lock > /dev/null || /usr/sbin/groupadd -g 38 lock
+
+echo `hostname` > /etc/hostname
+
+echo "LANG=\"${LANG}\"" > /etc/locale.conf
+
+[[ -r /etc/vconsole.conf ]] || ln -s sysconfig/console /etc/vconsole.conf