summaryrefslogtreecommitdiffhomepage
path: root/common
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-05-08 01:46:53 -0400
committermidipix <writeonce@midipix.org>2018-05-16 04:45:10 -0400
commit4721cebf34d7862b0783673f65fbb8b52750be46 (patch)
tree8293883f06a5b7301b1b8abc6d7ea9e954fdc00c /common
downloadmpackage-4721cebf34d7862b0783673f65fbb8b52750be46.tar.bz2
mpackage-4721cebf34d7862b0783673f65fbb8b52750be46.tar.xz
initial commit.
Diffstat (limited to 'common')
-rw-r--r--common/etc/hosts0
-rwxr-xr-xcommon/etc/init.sh23
-rw-r--r--common/etc/nanorc1
-rw-r--r--common/etc/passwd2
-rw-r--r--common/etc/resolv.conf2
-rw-r--r--common/home/midipix/.bashrc2
-rw-r--r--common/home/midipix/.inputrc1
7 files changed, 31 insertions, 0 deletions
diff --git a/common/etc/hosts b/common/etc/hosts
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/common/etc/hosts
diff --git a/common/etc/init.sh b/common/etc/init.sh
new file mode 100755
index 0000000..8bcce7f
--- /dev/null
+++ b/common/etc/init.sh
@@ -0,0 +1,23 @@
+#!/bin/sh
+
+cd /
+
+export PATH=/local/sbin:/local/bin:/sbin:/bin
+export HOME=/home/`whoami`
+
+if [ "$TERM" = xterm ]; then
+ export PS1='\[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]\n\$ '
+else
+ export PS1='\n\w \$ '
+fi
+
+if [ -x /bin/dircolors ]; then
+ alias ls='ls --color=auto'
+ alias grep='grep --color=auto'
+ alias fgrep='fgrep --color=auto'
+ alias egrep='egrep --color=auto'
+fi
+
+alias ll='ls -alF'
+alias la='ls -A'
+alias l='ls -CF'
diff --git a/common/etc/nanorc b/common/etc/nanorc
new file mode 100644
index 0000000..bf654dd
--- /dev/null
+++ b/common/etc/nanorc
@@ -0,0 +1 @@
+include /share/nano/*.nanorc
diff --git a/common/etc/passwd b/common/etc/passwd
new file mode 100644
index 0000000..6ea10fa
--- /dev/null
+++ b/common/etc/passwd
@@ -0,0 +1,2 @@
+root:x:0:0:root:/root:/bin/bash
+midipix:x:1000:1000::/home/midipix:/bin/bash
diff --git a/common/etc/resolv.conf b/common/etc/resolv.conf
new file mode 100644
index 0000000..af9304d
--- /dev/null
+++ b/common/etc/resolv.conf
@@ -0,0 +1,2 @@
+nameserver 208.67.222.222
+nameserver 208.67.220.220
diff --git a/common/home/midipix/.bashrc b/common/home/midipix/.bashrc
new file mode 100644
index 0000000..54406e9
--- /dev/null
+++ b/common/home/midipix/.bashrc
@@ -0,0 +1,2 @@
+# proceed only in interactive mode
+[[ "$-" != *i* ]] && return
diff --git a/common/home/midipix/.inputrc b/common/home/midipix/.inputrc
new file mode 100644
index 0000000..236bfdd
--- /dev/null
+++ b/common/home/midipix/.inputrc
@@ -0,0 +1 @@
+set completion-ignore-case on