summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2012-01-14 18:46:15 +0300
committerIgor Pashev <pashev.igor@gmail.com>2012-01-14 18:46:15 +0300
commit4b6db52271070fe7c92750a619d61c2d2c23a000 (patch)
tree10924f62c223ad68a88ea6103143809e0c259dce /share
downloadbase-files-4b6db52271070fe7c92750a619d61c2d2c23a000.tar.gz
Initial import from base-files-6.5
Diffstat (limited to 'share')
-rw-r--r--share/dot.bashrc18
-rw-r--r--share/dot.profile9
-rw-r--r--share/info.dir20
-rw-r--r--share/motd.md5sums7
-rw-r--r--share/nsswitch.conf19
-rw-r--r--share/profile37
6 files changed, 110 insertions, 0 deletions
diff --git a/share/dot.bashrc b/share/dot.bashrc
new file mode 100644
index 0000000..5d3a56e
--- /dev/null
+++ b/share/dot.bashrc
@@ -0,0 +1,18 @@
+# ~/.bashrc: executed by bash(1) for non-login shells.
+
+# Note: PS1 and umask are already set in /etc/profile. You should not
+# need this unless you want different defaults for root.
+# PS1='${debian_chroot:+($debian_chroot)}\h:\w\$ '
+# umask 022
+
+# You may uncomment the following lines if you want `ls' to be colorized:
+# export LS_OPTIONS='--color=auto'
+# eval "`dircolors`"
+# alias ls='ls $LS_OPTIONS'
+# alias ll='ls $LS_OPTIONS -l'
+# alias l='ls $LS_OPTIONS -lA'
+#
+# Some more alias to avoid making mistakes:
+# alias rm='rm -i'
+# alias cp='cp -i'
+# alias mv='mv -i'
diff --git a/share/dot.profile b/share/dot.profile
new file mode 100644
index 0000000..517e612
--- /dev/null
+++ b/share/dot.profile
@@ -0,0 +1,9 @@
+# ~/.profile: executed by Bourne-compatible login shells.
+
+if [ "$BASH" ]; then
+ if [ -f ~/.bashrc ]; then
+ . ~/.bashrc
+ fi
+fi
+
+mesg n
diff --git a/share/info.dir b/share/info.dir
new file mode 100644
index 0000000..550533d
--- /dev/null
+++ b/share/info.dir
@@ -0,0 +1,20 @@
+-*- Text -*-
+This is the file .../info/dir, which contains the topmost node of
+the Info hierarchy. The first time you invoke Info you start off
+looking at that node, which is (dir)Top.
+
+File: dir Node: Top This is the top of the INFO tree
+ This (the Directory node) gives a menu of major topics.
+ Typing "q" exits, "?" lists all Info commands, "d" returns here,
+ "mCoreutils<Return>" visits Coreutils topic, etc.
+ Or click mouse button 2 on a menu item or cross reference to select
+ it.
+ --- PLEASE ADD DOCUMENTATION TO THIS TREE. (See INFO topic first.) ---
+
+In Debian #OSNAME#, Info `dir' entries are added with the command
+`install-info'. Please refer to install-info(8) for usage details.
+
+* Menu: The list of major topics begins on the next line.
+
+General Commands
+
diff --git a/share/motd.md5sums b/share/motd.md5sums
new file mode 100644
index 0000000..d8d82a0
--- /dev/null
+++ b/share/motd.md5sums
@@ -0,0 +1,7 @@
+5ea8649523a3d0af00805898bb5c9e5f 2.0 hamm Linux
+f26743854be92750cccc7021606dedf2 2.1.0 slink Linux
+991aee7a8562697c32fb54aed5c2d458 2.2.0 potato Linux
+8ed2c2f147d25dbddafa84b400f5010d 3.0.2 woody Linux
+2bc53664e2502f75c339c652fcb86fd0 3.0.2 woody Hurd
+efd9f20ea448edfcf103a460f5cfad34 3.1.1 sarge Linux
+b66cc7941b4d76c335e435dff8e19336 3.1.1 sarge Hurd
diff --git a/share/nsswitch.conf b/share/nsswitch.conf
new file mode 100644
index 0000000..d2f03b0
--- /dev/null
+++ b/share/nsswitch.conf
@@ -0,0 +1,19 @@
+# /etc/nsswitch.conf
+#
+# Example configuration of GNU Name Service Switch functionality.
+# If you have the `glibc-doc-reference' and `info' packages installed, try:
+# `info libc "Name Service Switch"' for information about this file.
+
+passwd: compat
+group: compat
+shadow: compat
+
+hosts: files dns
+networks: files
+
+protocols: db files
+services: db files
+ethers: db files
+rpc: db files
+
+netgroup: nis
diff --git a/share/profile b/share/profile
new file mode 100644
index 0000000..c9207fc
--- /dev/null
+++ b/share/profile
@@ -0,0 +1,37 @@
+# /etc/profile: system-wide .profile file for the Bourne shell (sh(1))
+# and Bourne compatible shells (bash(1), ksh(1), ash(1), ...).
+
+if [ "`id -u`" -eq 0 ]; then
+ PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
+else
+ PATH="/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games"
+fi
+export PATH
+
+if [ "$PS1" ]; then
+ if [ "$BASH" ] && [ "$BASH" != "/bin/sh" ]; then
+ # The file bash.bashrc already sets the default PS1.
+ # PS1='\h:\w\$ '
+ if [ -f /etc/bash.bashrc ]; then
+ . /etc/bash.bashrc
+ fi
+ else
+ if [ "`id -u`" -eq 0 ]; then
+ PS1='# '
+ else
+ PS1='$ '
+ fi
+ fi
+fi
+
+# The default umask is now handled by pam_umask.
+# See pam_umask(8) and /etc/login.defs.
+
+if [ -d /etc/profile.d ]; then
+ for i in /etc/profile.d/*.sh; do
+ if [ -r $i ]; then
+ . $i
+ fi
+ done
+ unset i
+fi