Nxl67002 - AndLinux - Files: Difference between revisions

From miki
Jump to navigation Jump to search
(Using template HiddenSourceFile)
Line 6: Line 6:


=== settings.txt ===
=== settings.txt ===
{{hiddenSourceFile|./andlinux/|settings.txt|<pre class="settings.txt">
Download [{{#file: settings.txt}} this file].
<pre>
mem=384
mem=384
root=/dev/cobd0
root=/dev/cobd0
Line 20: Line 19:
cofs1=D:\
cofs1=D:\
</pre>
</pre>
}}


== AndLinux files ==
== AndLinux files ==


=== /etc/fstab ===
=== /etc/fstab ===
{{hiddenSourceFile|/etc/|fstab|<pre class="fstab">

Download [{{#file: fstab}} this file].
<pre>
# /etc/fstab: static file system information.
# /etc/fstab: static file system information.
#
#
Line 38: Line 36:
1 /mnt/wind cofs defaults,gid=samba,dmask=0775,fmask=0775 0 0
1 /mnt/wind cofs defaults,gid=samba,dmask=0775,fmask=0775 0 0
</pre>
</pre>
}}


=== /usr/local/bin/be ===
=== /usr/local/bin/be ===
This script would ideally require to add the following line to <tt>/etc/sudoers</tt>:
Download [{{#file: be}} this file].<br>
Note that this script would ideally require to add the following line to <tt>/etc/sudoers</tt>:
:<code>ALL ALL=(ALL) NOPASSWD: /bin/loadkeys</code>
:<code>ALL ALL=(ALL) NOPASSWD: /bin/loadkeys</code>

<pre>
{{hiddenSourceFile|/usr/local/bin/|be|<source lang="bash" class="be">
#!/bin/bash
#!/bin/bash


sudo loadkeys /usr/share/keymaps/i386/azerty/be2-latin1.kmap.gz
sudo loadkeys /usr/share/keymaps/i386/azerty/be2-latin1.kmap.gz
</pre>
</source>
}}


=== /usr/local/bin/ssh-agent-refresh.sh ===
=== /usr/local/bin/ssh-agent-refresh.sh ===
Download [{{#file: ssh-agent-refresh.sh}} this file].
{{hiddenSourceFile|/usr/local/bin/|ssh-agent-refresh.sh|<source lang="bash" class="ssh-agent-refresh.sh">
<source lang="bash">
#!/bin/bash
#!/bin/bash
#
#
Line 130: Line 129:
exit 0
exit 0
</source>
</source>
}}


=== ~/.bashrc ===
=== ~/.bashrc ===
Download [{{#file: .bashrc}} this file]. Everything before <tt>#### CUSTOMIZATION</tt> is the original file.
Everything before <tt>#### CUSTOMIZATION</tt> is the original file.
<source lang="bash">
{{hiddenSourceFile|~/|.bashrc|<source lang="bash" class=".bashrc">
# ~/.bashrc: executed by bash(1) for non-login shells.
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
Line 336: Line 336:
export PS1
export PS1
</source>
</source>
}}


=== ~/.dircolors.cfg ===
=== ~/.dircolors.cfg ===


Download [{{#file: .dircolors.cfg}} this file].
{{hiddenSourceFile|~/|.dircolors.cfg|<pre class=".dircolors.cfg">
<pre>
# Configuration file for dircolors, a utility to help you set the
# Configuration file for dircolors, a utility to help you set the
# LS_COLORS environment variable used by GNU ls with the --color option.
# LS_COLORS environment variable used by GNU ls with the --color option.
Line 452: Line 452:
.wav 35
.wav 35
</pre>
</pre>
}}


=== ~/.inputrc ===
=== ~/.inputrc ===
{{hiddenSourceFile|~/|.inputrc|<source lang="bash" class=".inputrc">
Download [{{#file: .inputrc}} this file].
<source lang="bash">
#
#
# MIP CUSTOM BINDING STARTS HERE
# MIP CUSTOM BINDING STARTS HERE
Line 508: Line 508:
"\e ":dynamic-complete-history #Esc-space
"\e ":dynamic-complete-history #Esc-space
</source>
</source>
}}


=== ~/.profile ===
=== ~/.profile ===
{{hiddenSourceFile|~/|.profile|<source lang="bash" class=".profile">
Download [{{#file: .profile}} this file].
<source lang="bash">
# ~/.profile: executed by the command interpreter for login shells.
# ~/.profile: executed by the command interpreter for login shells.
# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
Line 540: Line 540:
if ( ! ( ssh-add -L | grep -q $USER ) ); then ssh-add; fi
if ( ! ( ssh-add -L | grep -q $USER ) ); then ssh-add; fi
</source>
</source>
}}


=== ~/.ssh/config-home ===
=== ~/.ssh/config-home ===
{{hiddenSourceFile|~/.ssh/|config-home|<pre class="config-home">
Download [{{#file: config-nxp}} this file].
<pre>
# ~/.ssh/config-home
# ~/.ssh/config-home


Line 562: Line 562:
ServerAliveInterval 15
ServerAliveInterval 15
</pre>
</pre>
}}


=== ~/.ssh/config-nxp ===
=== ~/.ssh/config-nxp ===
{{hiddenSourceFile|~/.ssh/|config-nxp|<pre class="config-nxp">
Download [{{#file: config-nxp}} this file].
<pre>
# ~/.ssh/config-nxp
# ~/.ssh/config-nxp


Line 597: Line 597:
ServerAliveInterval 15
ServerAliveInterval 15
</pre>
</pre>
}}


=== ~/.ssh/config-tunnel ===
=== ~/.ssh/config-tunnel ===
{{hiddenSourceFile|~/.ssh/|config-tunnel|<pre class="config-tunnel">
Download [{{#file: config-nxp}} this file].
<pre>
# ~/.ssh/config-tunnel
# ~/.ssh/config-tunnel


Line 626: Line 626:
ServerAliveInterval 15
ServerAliveInterval 15
</pre>
</pre>
}}


=== ~/.ssh/proxy.conf ===
=== ~/.ssh/proxy.conf ===
{{hiddenSourceFile|~/.ssh/|proxy.conf|<pre class="proxy.conf">
Download [{{#file: proxy.conf}} this file].
<pre>
# SSH Tunnel configuration file.
# SSH Tunnel configuration file.


Line 656: Line 656:
10.0.2.2/32 emea.nics.nxp.com:8080 -C ~/.ssh/clbanner.txt
10.0.2.2/32 emea.nics.nxp.com:8080 -C ~/.ssh/clbanner.txt
</pre>
</pre>
}}


=== ~/.vimrc ===
=== ~/.vimrc ===
{{hiddenSourceFile|~/|.vimrc|<source lang="bash" class=".vimrc">

Download [{{#file: .vimrc}} this file].
<source lang="bash">
syntax enable
syntax enable
set bg=light
set bg=light
Line 678: Line 677:
set autoindent
set autoindent
</source>
</source>
}}


=== ~/crontab ===
=== ~/crontab ===
Install this file with '''<code>crontab -u beq06659 ~/crontab</code>'''.

{{hiddenSourceFile|~/|crontab|<source lang="bash" class="crontab">
Download [{{#file: crontab}} this file]. Install this file with '''<code>crontab -u beq06659 ~/crontab</code>'''.
<source lang="bash">
# usr /bin/bash to run commands, instead of the default /bin/sh
# usr /bin/bash to run commands, instead of the default /bin/sh
SHELL=/bin/bash
SHELL=/bin/bash
Line 692: Line 691:
15 12 * * * ~beq06659/bin/backup_noekeon
15 12 * * * ~beq06659/bin/backup_noekeon
</source>
</source>
}}


=== ~/bin/backup_noekeon ===
=== ~/bin/backup_noekeon ===
This file must be '''chmod +755'''.

{{hiddenSourceFile|~/|backup_noekeon|<source lang="bash" class="backup_noekeon">
Download [{{#file: backup_noekeon}} this file]. This file must be '''chmod +755'''.
<source lang="bash">
#! /bin/bash
#! /bin/bash


Line 826: Line 825:
echo "NEXTYEARLY=${NEXTYEARLY}" >>$BACKUPRC
echo "NEXTYEARLY=${NEXTYEARLY}" >>$BACKUPRC
</source>
</source>
}}

Revision as of 22:21, 16 November 2009

These are the configuration files on Configuration NXP Dell Latitude D620 - AndLinux.

Windows Host files

settings.txt

AndLinux files

/etc/fstab

/usr/local/bin/be

This script would ideally require to add the following line to /etc/sudoers:

ALL ALL=(ALL) NOPASSWD: /bin/loadkeys

/usr/local/bin/ssh-agent-refresh.sh

~/.bashrc

Everything before #### CUSTOMIZATION is the original file.

~/.dircolors.cfg

~/.inputrc

~/.profile

~/.ssh/config-home

~/.ssh/config-nxp

~/.ssh/config-tunnel

~/.ssh/proxy.conf

~/.vimrc

~/crontab

Install this file with crontab -u beq06659 ~/crontab.

~/bin/backup_noekeon

This file must be chmod +755.