aboutsummaryrefslogtreecommitdiff
path: root/src/init
diff options
context:
space:
mode:
authorkartofen <mladenovnasko0@gmail.com>2023-04-24 01:00:36 +0300
committerkartofen <mladenovnasko0@gmail.com>2023-04-24 01:00:36 +0300
commit2ca6677667af23ecb1e17479c5b5cc08efa53309 (patch)
tree37c4f62ac9f9ba124b37ca4767348c1f1ad74737 /src/init
init
Diffstat (limited to 'src/init')
-rw-r--r--src/init8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/init b/src/init
new file mode 100644
index 0000000..f080d6c
--- /dev/null
+++ b/src/init
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+echo "Hello, whats your name?"
+read -r name
+hostname $name
+
+export PS1="\[\033[32m\]\h:\[\033[36m\]\w\[\033[37m\]# " # set the prompt
+exec /bin/sh