summaryrefslogtreecommitdiffstats
path: root/examples/adduser.local.conf.examples/skel/dot.bash_profile
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 05:55:27 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 05:55:27 +0000
commit32e0ba8ebdadc47ac1a0da8d9a9668ff21909e4f (patch)
treeebaa5eacafe874b431d69e52f0f73c013c3017ae /examples/adduser.local.conf.examples/skel/dot.bash_profile
parentInitial commit. (diff)
downloadadduser-upstream/3.118+deb11u1.tar.xz
adduser-upstream/3.118+deb11u1.zip
Adding upstream version 3.118+deb11u1.upstream/3.118+deb11u1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'examples/adduser.local.conf.examples/skel/dot.bash_profile')
-rw-r--r--examples/adduser.local.conf.examples/skel/dot.bash_profile45
1 files changed, 45 insertions, 0 deletions
diff --git a/examples/adduser.local.conf.examples/skel/dot.bash_profile b/examples/adduser.local.conf.examples/skel/dot.bash_profile
new file mode 100644
index 0000000..d8b0331
--- /dev/null
+++ b/examples/adduser.local.conf.examples/skel/dot.bash_profile
@@ -0,0 +1,45 @@
+#########################################################################
+# ~/.bash_profile: Personal initialisation script for Bash #
+#########################################################################
+
+# [JNZ] Modified 21-Jun-2013
+
+# This script file is sourced by bash(1) for login shells.
+#
+# When a login shell starts, the following script files are sourced, in
+# this order:
+#
+# /etc/profile - run by bash(1)
+# /etc/profile.d/*.sh - additional profile scripts
+# /etc/bash.bashrc - sourced by /etc/profile file (only for bash(1))
+# $HOME/.bash_profile - this file
+# $HOME/.bashrc - sourced by this file (if unchanged)
+#
+# When a normal (non-login) bash(1) shell starts, the following files are
+# sourced:
+#
+# /etc/bash.bashrc - run by bash(1)
+# $HOME/.bashrc - run by bash(1)
+#
+# Written by John Zaitseff and released into the public domain.
+
+
+if [ -f $HOME/.bashrc ]; then
+ . $HOME/.bashrc
+fi
+
+# Display a verse from the Bible
+
+if [ ! -f $HOME/.hushlogin ] && [ ! -f $HOME/.hushverse ]; then
+ if [ $(type -p verse) ]; then
+ echo
+ verse
+ echo
+ fi
+fi
+
+# Turn on talk(1) messages, unless the user does not want this
+
+if [ ! -f $HOME/.hushlogin ] && [ ! -f $HOME/.hushtalk ]; then
+ mesg y 2>/dev/null
+fi