summaryrefslogtreecommitdiff
path: root/configs/profile/root-image/root
diff options
context:
space:
mode:
authorEsteban Carnevale <alfplayer@mailoo.org>2013-09-02 20:03:36 -0300
committerEsteban Carnevale <alfplayer@mailoo.org>2013-09-02 20:03:36 -0300
commit89fc8cc4495384e2131adc04d9b65bc199782934 (patch)
treec81aaf5e1a221d6f905c7ffa94ab77462e71d6b4 /configs/profile/root-image/root
parent8067719a1264e88617ffea9d74bdab440e67389f (diff)
Add date template in motd.
Diffstat (limited to 'configs/profile/root-image/root')
-rwxr-xr-xconfigs/profile/root-image/root/customize_root_image.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/configs/profile/root-image/root/customize_root_image.sh b/configs/profile/root-image/root/customize_root_image.sh
index 50c5131..e3bd179 100755
--- a/configs/profile/root-image/root/customize_root_image.sh
+++ b/configs/profile/root-image/root/customize_root_image.sh
@@ -23,3 +23,5 @@ sed 's#\(^ExecStart=-/sbin/agetty\)#\1 --autologin root#;
systemctl disable getty@tty1.service
systemctl enable multi-user.target pacman-init.service autologin@.service dhcpcd.service
+
+sed -i "s/_DATE_/${iso_version}/" /etc/motd