From 2ca6677667af23ecb1e17479c5b5cc08efa53309 Mon Sep 17 00:00:00 2001 From: kartofen Date: Mon, 24 Apr 2023 01:00:36 +0300 Subject: init --- src/init | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/init (limited to 'src/init') 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 -- cgit v1.2.3