summaryrefslogtreecommitdiffstats
path: root/core/modules/demo-user/module.build
diff options
context:
space:
mode:
authorJonathan Bauer2021-07-09 15:44:56 +0200
committerJonathan Bauer2021-07-09 15:44:56 +0200
commitca2ebc11c9df4a1f0dc3711a061abaebe92db126 (patch)
treeb293a8c9df7b85336e02d43418ae4eafc4afcaaf /core/modules/demo-user/module.build
parentautoclone: Fix path -C (diff)
downloadmltk-ca2ebc11c9df4a1f0dc3711a061abaebe92db126.tar.gz
mltk-ca2ebc11c9df4a1f0dc3711a061abaebe92db126.tar.xz
mltk-ca2ebc11c9df4a1f0dc3711a061abaebe92db126.zip
[demo-user] add module for demo user
Diffstat (limited to 'core/modules/demo-user/module.build')
-rw-r--r--core/modules/demo-user/module.build13
1 files changed, 13 insertions, 0 deletions
diff --git a/core/modules/demo-user/module.build b/core/modules/demo-user/module.build
new file mode 100644
index 00000000..92c3dde3
--- /dev/null
+++ b/core/modules/demo-user/module.build
@@ -0,0 +1,13 @@
+#!/bin/bash
+fetch_source() {
+ :
+}
+
+build() {
+ :
+}
+
+post_copy() {
+ DEMO_ID="$(USER=demo PASSWORD= USERHOME=/home/demo USERSHELL=/bin/bash add_user)"
+ [ -n "$DEMO_ID" ] && pinfo "Created user demo"
+}