svn commit: r199536 - in head/tools/tools/nanobsd/pcengines: .
Files Files/etc Files/root Files/usr Files/usr/ports Pkg
Michael Reifenberger
mr at FreeBSD.org
Thu Nov 19 16:27:52 UTC 2009
Author: mr
Date: Thu Nov 19 16:27:51 2009
New Revision: 199536
URL: http://svn.freebsd.org/changeset/base/199536
Log:
Add nanobsd example for the PC Engines ALIX board (serial console).
Added:
head/tools/tools/nanobsd/pcengines/
head/tools/tools/nanobsd/pcengines/ALIX_DSK (contents, props changed)
head/tools/tools/nanobsd/pcengines/ALIX_NFS (contents, props changed)
head/tools/tools/nanobsd/pcengines/Files/
head/tools/tools/nanobsd/pcengines/Files/etc/
head/tools/tools/nanobsd/pcengines/Files/etc/rc.conf (contents, props changed)
head/tools/tools/nanobsd/pcengines/Files/etc/ttys (contents, props changed)
head/tools/tools/nanobsd/pcengines/Files/root/
head/tools/tools/nanobsd/pcengines/Files/root/.cshrc (contents, props changed)
head/tools/tools/nanobsd/pcengines/Files/root/.k5login (contents, props changed)
head/tools/tools/nanobsd/pcengines/Files/root/.login (contents, props changed)
head/tools/tools/nanobsd/pcengines/Files/root/change_password (contents, props changed)
head/tools/tools/nanobsd/pcengines/Files/root/save_cfg (contents, props changed)
head/tools/tools/nanobsd/pcengines/Files/root/save_sshkeys (contents, props changed)
head/tools/tools/nanobsd/pcengines/Files/root/updatep1 (contents, props changed)
head/tools/tools/nanobsd/pcengines/Files/root/updatep2 (contents, props changed)
head/tools/tools/nanobsd/pcengines/Files/usr/
head/tools/tools/nanobsd/pcengines/Files/usr/ports/
head/tools/tools/nanobsd/pcengines/Files/usr/ports/.keepme (contents, props changed)
head/tools/tools/nanobsd/pcengines/Pkg/
head/tools/tools/nanobsd/pcengines/alix_dsk.conf (contents, props changed)
head/tools/tools/nanobsd/pcengines/alix_nfs.conf (contents, props changed)
head/tools/tools/nanobsd/pcengines/build.sh (contents, props changed)
head/tools/tools/nanobsd/pcengines/common.conf (contents, props changed)
head/tools/tools/nanobsd/pcengines/test.sh (contents, props changed)
Added: head/tools/tools/nanobsd/pcengines/ALIX_DSK
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/tools/tools/nanobsd/pcengines/ALIX_DSK Thu Nov 19 16:27:51 2009 (r199536)
@@ -0,0 +1,113 @@
+#
+# $FreeBSD$
+#
+
+cpu I586_CPU
+ident ALIX_DSK
+makeoptions DEBUG=-g
+options CPU_GEODE
+options SCHED_ULE
+options PREEMPTION
+options INET
+options INET6
+options FFS
+options SOFTUPDATES
+options UFS_ACL
+options UFS_DIRHASH
+options NFSCLIENT
+options NFSLOCKD
+options MSDOSFS
+options CD9660
+options PROCFS
+options PSEUDOFS
+options GEOM_PART_GPT
+options GEOM_LABEL
+options COMPAT_43TTY
+options COMPAT_FREEBSD7
+options SCSI_DELAY=5000
+options SYSVSHM
+options SYSVMSG
+options SYSVSEM
+options P1003_1B_SEMAPHORES
+options _KPOSIX_PRIORITY_SCHEDULING
+options PRINTF_BUFR_SIZE=128
+device apic
+device pci
+device fdc
+device ata
+device atadisk
+device atapicd
+device atapist
+options ATA_STATIC_ID
+device scbus
+device da
+device sa
+device cd
+device pass
+device uart
+device em
+device miibus
+device vr
+device wlan
+options IEEE80211_DEBUG
+options IEEE80211_AMPDU_AGE
+options IEEE80211_SUPPORT_MESH
+device wlan_wep
+device wlan_ccmp
+device wlan_tkip
+device wlan_amrr
+device an
+device ath
+device ath_hal
+options AH_SUPPORT_AR5416
+device ath_rate_sample
+device wi
+device loop
+device random
+device ether
+device tun
+device pty
+device md
+device gif
+device faith
+device firmware
+device bpf
+device uhci
+device ohci
+device ehci
+device usb
+device ulpt
+device umass
+device u3g
+device ubsa
+device uftdi
+
+options INCLUDE_CONFIG_FILE
+
+options ALTQ
+options ALTQ_CBQ
+options ALTQ_RED
+options ALTQ_RIO
+options ALTQ_HFSC
+options ALTQ_CDNR
+options ALTQ_PRIQ
+
+device pf
+device pflog
+device pfsync
+device carp
+device if_bridge
+
+options DEVICE_POLLING
+
+options NETGRAPH
+options NETGRAPH_BPF
+options NETGRAPH_ETHER
+options NETGRAPH_IFACE
+options NETGRAPH_PPP
+options NETGRAPH_PPPOE
+options NETGRAPH_PPTPGRE
+options NETGRAPH_MPPC_ENCRYPTION
+options NETGRAPH_SOCKET
+options NETGRAPH_KSOCKET
+options NETGRAPH_VJC
Added: head/tools/tools/nanobsd/pcengines/ALIX_NFS
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/tools/tools/nanobsd/pcengines/ALIX_NFS Thu Nov 19 16:27:51 2009 (r199536)
@@ -0,0 +1,121 @@
+#
+# $FreeBSD$
+#
+
+cpu I586_CPU
+ident ALIX_DSK
+makeoptions DEBUG=-g
+options CPU_GEODE
+options SCHED_ULE
+options PREEMPTION
+options INET
+options INET6
+options FFS
+options SOFTUPDATES
+options UFS_ACL
+options UFS_DIRHASH
+options NFSCLIENT
+options NFSLOCKD
+options MSDOSFS
+options CD9660
+options PROCFS
+options PSEUDOFS
+options GEOM_PART_GPT
+options GEOM_LABEL
+options COMPAT_43TTY
+options COMPAT_FREEBSD7
+options SCSI_DELAY=5000
+options SYSVSHM
+options SYSVMSG
+options SYSVSEM
+options P1003_1B_SEMAPHORES
+options _KPOSIX_PRIORITY_SCHEDULING
+options PRINTF_BUFR_SIZE=128
+device apic
+device pci
+device fdc
+device ata
+device atadisk
+device atapicd
+device atapist
+options ATA_STATIC_ID
+device scbus
+device da
+device sa
+device cd
+device pass
+device uart
+device em
+device miibus
+device vr
+device wlan
+options IEEE80211_DEBUG
+options IEEE80211_AMPDU_AGE
+options IEEE80211_SUPPORT_MESH
+device wlan_wep
+device wlan_ccmp
+device wlan_tkip
+device wlan_amrr
+device an
+device ath
+device ath_hal
+options AH_SUPPORT_AR5416
+device ath_rate_sample
+device wi
+device loop
+device random
+device ether
+device tun
+device pty
+device md
+device gif
+device faith
+device firmware
+device bpf
+device uhci
+device ohci
+device ehci
+device usb
+device ulpt
+device umass
+device u3g
+device ubsa
+device uftdi
+
+options INCLUDE_CONFIG_FILE
+
+options ALTQ
+options ALTQ_CBQ
+options ALTQ_RED
+options ALTQ_RIO
+options ALTQ_HFSC
+options ALTQ_CDNR
+options ALTQ_PRIQ
+
+device pf
+device pflog
+device pfsync
+device carp
+device if_bridge
+
+options DEVICE_POLLING
+
+options NETGRAPH
+options NETGRAPH_BPF
+options NETGRAPH_ETHER
+options NETGRAPH_IFACE
+options NETGRAPH_PPP
+options NETGRAPH_PPPOE
+options NETGRAPH_PPTPGRE
+options NETGRAPH_MPPC_ENCRYPTION
+options NETGRAPH_SOCKET
+options NETGRAPH_KSOCKET
+options NETGRAPH_VJC
+
+options NFS_ROOT
+options BOOTP
+options BOOTP_NFSROOT
+options BOOTP_NFSV3
+#options BOOTP_WIRED_TO=fxp0
+#options BOOTP_WIRED_TO=ath0
+options BOOTP_COMPAT
Added: head/tools/tools/nanobsd/pcengines/Files/etc/rc.conf
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/tools/tools/nanobsd/pcengines/Files/etc/rc.conf Thu Nov 19 16:27:51 2009 (r199536)
@@ -0,0 +1,13 @@
+#
+# $FreeBSD$
+#
+
+hostname="alix"
+ifconfig_vr0="DHCP"
+ifconfig_em0="DHCP"
+
+sshd_enable="YES"
+#ntpdate_enable="YES"
+#ntpdate_hosts="1.0.0.0"
+#ntpd_enable="YES"
+#ntpd_sync_on_start="YES"
Added: head/tools/tools/nanobsd/pcengines/Files/etc/ttys
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/tools/tools/nanobsd/pcengines/Files/etc/ttys Thu Nov 19 16:27:51 2009 (r199536)
@@ -0,0 +1,565 @@
+#
+# $FreeBSD$
+# @(#)ttys 5.1 (Berkeley) 4/17/89
+#
+# This file specifies various information about terminals on the system.
+# It is used by several different programs. Common entries for the
+# various columns include:
+#
+# name The name of the terminal device.
+#
+# getty The program to start running on the terminal. Typically a
+# getty program, as the name implies. Other common entries
+# include none, when no getty is needed, and xdm, to start the
+# X Window System.
+#
+# type The initial terminal type for this port. For hardwired
+# terminal lines, this will contain the type of terminal used.
+# For virtual consoles, the correct type is typically xterm, but
+# vt220 will work better if you need interoperability with other
+# systems like Solaris or GNU/Linux.
+# Other common values include network for network connections on
+# pseudo-terminals, dialup for incoming modem ports, and unknown
+# when the terminal type cannot be predetermined.
+#
+# status Must be on or off. If on, init will run the getty program on
+# the specified port. If the word "secure" appears, this tty
+# allows root login.
+#
+# name getty type status comments
+#
+# If console is marked "insecure", then init will ask for the root password
+# when going to single-user mode.
+console none unknown off secure
+#
+ttyv0 "/usr/libexec/getty Pc" xterm off secure
+# Virtual terminals
+ttyv1 "/usr/libexec/getty Pc" xterm off secure
+ttyv2 "/usr/libexec/getty Pc" xterm off secure
+ttyv3 "/usr/libexec/getty Pc" xterm off secure
+ttyv4 "/usr/libexec/getty Pc" xterm off secure
+ttyv5 "/usr/libexec/getty Pc" xterm off secure
+ttyv6 "/usr/libexec/getty Pc" xterm off secure
+ttyv7 "/usr/libexec/getty Pc" xterm off secure
+ttyv8 "/usr/local/bin/xdm -nodaemon" xterm off secure
+# Serial terminals
+# The 'dialup' keyword identifies dialin lines to login, fingerd etc.
+ttyu0 "/usr/libexec/getty std.9600" xterm on secure
+ttyd1 "/usr/libexec/getty std.9600" dialup off secure
+ttyd2 "/usr/libexec/getty std.9600" dialup off secure
+ttyd3 "/usr/libexec/getty std.9600" dialup off secure
+# Dumb console
+dcons "/usr/libexec/getty std.9600" vt100 off secure
+# Pseudo terminals
+ttyp0 none network
+ttyp1 none network
+ttyp2 none network
+ttyp3 none network
+ttyp4 none network
+ttyp5 none network
+ttyp6 none network
+ttyp7 none network
+ttyp8 none network
+ttyp9 none network
+ttypa none network
+ttypb none network
+ttypc none network
+ttypd none network
+ttype none network
+ttypf none network
+ttypg none network
+ttyph none network
+ttypi none network
+ttypj none network
+ttypk none network
+ttypl none network
+ttypm none network
+ttypn none network
+ttypo none network
+ttypp none network
+ttypq none network
+ttypr none network
+ttyps none network
+ttypt none network
+ttypu none network
+ttypv none network
+ttyq0 none network
+ttyq1 none network
+ttyq2 none network
+ttyq3 none network
+ttyq4 none network
+ttyq5 none network
+ttyq6 none network
+ttyq7 none network
+ttyq8 none network
+ttyq9 none network
+ttyqa none network
+ttyqb none network
+ttyqc none network
+ttyqd none network
+ttyqe none network
+ttyqf none network
+ttyqg none network
+ttyqh none network
+ttyqi none network
+ttyqj none network
+ttyqk none network
+ttyql none network
+ttyqm none network
+ttyqn none network
+ttyqo none network
+ttyqp none network
+ttyqq none network
+ttyqr none network
+ttyqs none network
+ttyqt none network
+ttyqu none network
+ttyqv none network
+ttyr0 none network
+ttyr1 none network
+ttyr2 none network
+ttyr3 none network
+ttyr4 none network
+ttyr5 none network
+ttyr6 none network
+ttyr7 none network
+ttyr8 none network
+ttyr9 none network
+ttyra none network
+ttyrb none network
+ttyrc none network
+ttyrd none network
+ttyre none network
+ttyrf none network
+ttyrg none network
+ttyrh none network
+ttyri none network
+ttyrj none network
+ttyrk none network
+ttyrl none network
+ttyrm none network
+ttyrn none network
+ttyro none network
+ttyrp none network
+ttyrq none network
+ttyrr none network
+ttyrs none network
+ttyrt none network
+ttyru none network
+ttyrv none network
+ttys0 none network
+ttys1 none network
+ttys2 none network
+ttys3 none network
+ttys4 none network
+ttys5 none network
+ttys6 none network
+ttys7 none network
+ttys8 none network
+ttys9 none network
+ttysa none network
+ttysb none network
+ttysc none network
+ttysd none network
+ttyse none network
+ttysf none network
+ttysg none network
+ttysh none network
+ttysi none network
+ttysj none network
+ttysk none network
+ttysl none network
+ttysm none network
+ttysn none network
+ttyso none network
+ttysp none network
+ttysq none network
+ttysr none network
+ttyss none network
+ttyst none network
+ttysu none network
+ttysv none network
+ttyP0 none network
+ttyP1 none network
+ttyP2 none network
+ttyP3 none network
+ttyP4 none network
+ttyP5 none network
+ttyP6 none network
+ttyP7 none network
+ttyP8 none network
+ttyP9 none network
+ttyPa none network
+ttyPb none network
+ttyPc none network
+ttyPd none network
+ttyPe none network
+ttyPf none network
+ttyPg none network
+ttyPh none network
+ttyPi none network
+ttyPj none network
+ttyPk none network
+ttyPl none network
+ttyPm none network
+ttyPn none network
+ttyPo none network
+ttyPp none network
+ttyPq none network
+ttyPr none network
+ttyPs none network
+ttyPt none network
+ttyPu none network
+ttyPv none network
+ttyQ0 none network
+ttyQ1 none network
+ttyQ2 none network
+ttyQ3 none network
+ttyQ4 none network
+ttyQ5 none network
+ttyQ6 none network
+ttyQ7 none network
+ttyQ8 none network
+ttyQ9 none network
+ttyQa none network
+ttyQb none network
+ttyQc none network
+ttyQd none network
+ttyQe none network
+ttyQf none network
+ttyQg none network
+ttyQh none network
+ttyQi none network
+ttyQj none network
+ttyQk none network
+ttyQl none network
+ttyQm none network
+ttyQn none network
+ttyQo none network
+ttyQp none network
+ttyQq none network
+ttyQr none network
+ttyQs none network
+ttyQt none network
+ttyQu none network
+ttyQv none network
+ttyR0 none network
+ttyR1 none network
+ttyR2 none network
+ttyR3 none network
+ttyR4 none network
+ttyR5 none network
+ttyR6 none network
+ttyR7 none network
+ttyR8 none network
+ttyR9 none network
+ttyRa none network
+ttyRb none network
+ttyRc none network
+ttyRd none network
+ttyRe none network
+ttyRf none network
+ttyRg none network
+ttyRh none network
+ttyRi none network
+ttyRj none network
+ttyRk none network
+ttyRl none network
+ttyRm none network
+ttyRn none network
+ttyRo none network
+ttyRp none network
+ttyRq none network
+ttyRr none network
+ttyRs none network
+ttyRt none network
+ttyRu none network
+ttyRv none network
+ttyS0 none network
+ttyS1 none network
+ttyS2 none network
+ttyS3 none network
+ttyS4 none network
+ttyS5 none network
+ttyS6 none network
+ttyS7 none network
+ttyS8 none network
+ttyS9 none network
+ttySa none network
+ttySb none network
+ttySc none network
+ttySd none network
+ttySe none network
+ttySf none network
+ttySg none network
+ttySh none network
+ttySi none network
+ttySj none network
+ttySk none network
+ttySl none network
+ttySm none network
+ttySn none network
+ttySo none network
+ttySp none network
+ttySq none network
+ttySr none network
+ttySs none network
+ttySt none network
+ttySu none network
+ttySv none network
+ttyl0 none network
+ttyl1 none network
+ttyl2 none network
+ttyl3 none network
+ttyl4 none network
+ttyl5 none network
+ttyl6 none network
+ttyl7 none network
+ttyl8 none network
+ttyl9 none network
+ttyla none network
+ttylb none network
+ttylc none network
+ttyld none network
+ttyle none network
+ttylf none network
+ttylg none network
+ttylh none network
+ttyli none network
+ttylj none network
+ttylk none network
+ttyll none network
+ttylm none network
+ttyln none network
+ttylo none network
+ttylp none network
+ttylq none network
+ttylr none network
+ttyls none network
+ttylt none network
+ttylu none network
+ttylv none network
+ttym0 none network
+ttym1 none network
+ttym2 none network
+ttym3 none network
+ttym4 none network
+ttym5 none network
+ttym6 none network
+ttym7 none network
+ttym8 none network
+ttym9 none network
+ttyma none network
+ttymb none network
+ttymc none network
+ttymd none network
+ttyme none network
+ttymf none network
+ttymg none network
+ttymh none network
+ttymi none network
+ttymj none network
+ttymk none network
+ttyml none network
+ttymm none network
+ttymn none network
+ttymo none network
+ttymp none network
+ttymq none network
+ttymr none network
+ttyms none network
+ttymt none network
+ttymu none network
+ttymv none network
+ttyn0 none network
+ttyn1 none network
+ttyn2 none network
+ttyn3 none network
+ttyn4 none network
+ttyn5 none network
+ttyn6 none network
+ttyn7 none network
+ttyn8 none network
+ttyn9 none network
+ttyna none network
+ttynb none network
+ttync none network
+ttynd none network
+ttyne none network
+ttynf none network
+ttyng none network
+ttynh none network
+ttyni none network
+ttynj none network
+ttynk none network
+ttynl none network
+ttynm none network
+ttynn none network
+ttyno none network
+ttynp none network
+ttynq none network
+ttynr none network
+ttyns none network
+ttynt none network
+ttynu none network
+ttynv none network
+ttyo0 none network
+ttyo1 none network
+ttyo2 none network
+ttyo3 none network
+ttyo4 none network
+ttyo5 none network
+ttyo6 none network
+ttyo7 none network
+ttyo8 none network
+ttyo9 none network
+ttyoa none network
+ttyob none network
+ttyoc none network
+ttyod none network
+ttyoe none network
+ttyof none network
+ttyog none network
+ttyoh none network
+ttyoi none network
+ttyoj none network
+ttyok none network
+ttyol none network
+ttyom none network
+ttyon none network
+ttyoo none network
+ttyop none network
+ttyoq none network
+ttyor none network
+ttyos none network
+ttyot none network
+ttyou none network
+ttyov none network
+ttyL0 none network
+ttyL1 none network
+ttyL2 none network
+ttyL3 none network
+ttyL4 none network
+ttyL5 none network
+ttyL6 none network
+ttyL7 none network
+ttyL8 none network
+ttyL9 none network
+ttyLa none network
+ttyLb none network
+ttyLc none network
+ttyLd none network
+ttyLe none network
+ttyLf none network
+ttyLg none network
+ttyLh none network
+ttyLi none network
+ttyLj none network
+ttyLk none network
+ttyLl none network
+ttyLm none network
+ttyLn none network
+ttyLo none network
+ttyLp none network
+ttyLq none network
+ttyLr none network
+ttyLs none network
+ttyLt none network
+ttyLu none network
+ttyLv none network
+ttyM0 none network
+ttyM1 none network
+ttyM2 none network
+ttyM3 none network
+ttyM4 none network
+ttyM5 none network
+ttyM6 none network
+ttyM7 none network
+ttyM8 none network
+ttyM9 none network
+ttyMa none network
+ttyMb none network
+ttyMc none network
+ttyMd none network
+ttyMe none network
+ttyMf none network
+ttyMg none network
+ttyMh none network
+ttyMi none network
+ttyMj none network
+ttyMk none network
+ttyMl none network
+ttyMm none network
+ttyMn none network
+ttyMo none network
+ttyMp none network
+ttyMq none network
+ttyMr none network
+ttyMs none network
+ttyMt none network
+ttyMu none network
+ttyMv none network
+ttyN0 none network
+ttyN1 none network
+ttyN2 none network
+ttyN3 none network
+ttyN4 none network
+ttyN5 none network
+ttyN6 none network
+ttyN7 none network
+ttyN8 none network
+ttyN9 none network
+ttyNa none network
+ttyNb none network
+ttyNc none network
+ttyNd none network
+ttyNe none network
+ttyNf none network
+ttyNg none network
+ttyNh none network
+ttyNi none network
+ttyNj none network
+ttyNk none network
+ttyNl none network
+ttyNm none network
+ttyNn none network
+ttyNo none network
+ttyNp none network
+ttyNq none network
+ttyNr none network
+ttyNs none network
+ttyNt none network
+ttyNu none network
+ttyNv none network
+ttyO0 none network
+ttyO1 none network
+ttyO2 none network
+ttyO3 none network
+ttyO4 none network
+ttyO5 none network
+ttyO6 none network
+ttyO7 none network
+ttyO8 none network
+ttyO9 none network
+ttyOa none network
+ttyOb none network
+ttyOc none network
+ttyOd none network
+ttyOe none network
+ttyOf none network
+ttyOg none network
+ttyOh none network
+ttyOi none network
+ttyOj none network
+ttyOk none network
+ttyOl none network
+ttyOm none network
+ttyOn none network
+ttyOo none network
+ttyOp none network
+ttyOq none network
+ttyOr none network
+ttyOs none network
+ttyOt none network
+ttyOu none network
+ttyOv none network
Added: head/tools/tools/nanobsd/pcengines/Files/root/.cshrc
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/tools/tools/nanobsd/pcengines/Files/root/.cshrc Thu Nov 19 16:27:51 2009 (r199536)
@@ -0,0 +1,35 @@
+# $FreeBSD$
+#
+# .cshrc - csh resource script, read at beginning of execution by each shell
+#
+# see also csh(1), environ(7).
+#
+
+alias h history 25
+alias j jobs -l
+alias la ls -a
+alias lf ls -FA
+alias ll ls -lA
+
+# A righteous umask
+umask 22
+
+set path = (/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin /usr/X11R6/bin $HOME/bin)
+
+setenv EDITOR vi
+setenv PAGER more
+setenv BLOCKSIZE K
+
+if ($?prompt) then
+ # An interactive shell -- set some stuff up
+ set prompt = "`/bin/hostname -s`# "
+ set filec
+ set history = 100
+ set savehist = 100
+ set mail = (/var/mail/$USER)
+ if ( $?tcsh ) then
+ bindkey "^W" backward-delete-word
+ bindkey -k up history-search-backward
+ bindkey -k down history-search-forward
+ endif
+endif
Added: head/tools/tools/nanobsd/pcengines/Files/root/.k5login
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/tools/tools/nanobsd/pcengines/Files/root/.k5login Thu Nov 19 16:27:51 2009 (r199536)
@@ -0,0 +1,4 @@
+# $FreeBSD$
+#
+# user1/root at YOUR.REALM.WHEREVER
+# user2/root at YOUR.REALM.WHEREVER
Added: head/tools/tools/nanobsd/pcengines/Files/root/.login
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/tools/tools/nanobsd/pcengines/Files/root/.login Thu Nov 19 16:27:51 2009 (r199536)
@@ -0,0 +1,9 @@
+# $FreeBSD$
+#
+# .login - csh login script, read by login shell, after `.cshrc' at login.
+#
+# see also csh(1), environ(7).
+#
+
+# Uncomment to display a random cookie each login:
+# [ -x /usr/games/fortune ] && /usr/games/fortune -s
Added: head/tools/tools/nanobsd/pcengines/Files/root/change_password
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/tools/tools/nanobsd/pcengines/Files/root/change_password Thu Nov 19 16:27:51 2009 (r199536)
@@ -0,0 +1,40 @@
+#!/bin/sh
+#
+# Copyright (c) 2004-2005 Poul-Henning Kamp.
+# All rights reserved.
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions
+# are met:
+# 1. Redistributions of source code must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+# 2. Redistributions in binary form must reproduce the above copyright
+# notice, this list of conditions and the following disclaimer in the
+# documentation and/or other materials provided with the distribution.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
+# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+# SUCH DAMAGE.
+#
+# $FreeBSD$
+#
+
+set -e
+
+passwd root
+
+cfgslice=`grep '/cfg' /etc/fstab | cut -d \ -f 1`
+
+trap "umount /cfg" 1 2 15 EXIT
+mount /cfg
+cp /etc/master.passwd /etc/passwd /etc/pwd.db /etc/spwd.db /etc/group /cfg
+umount /cfg
+trap 1 2 15 EXIT
Added: head/tools/tools/nanobsd/pcengines/Files/root/save_cfg
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/tools/tools/nanobsd/pcengines/Files/root/save_cfg Thu Nov 19 16:27:51 2009 (r199536)
@@ -0,0 +1,42 @@
+#!/bin/sh
+#
+# Copyright (c) 2006 Mathieu Arnold
+# All rights reserved.
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions
+# are met:
+# 1. Redistributions of source code must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+# 2. Redistributions in binary form must reproduce the above copyright
+# notice, this list of conditions and the following disclaimer in the
+# documentation and/or other materials provided with the distribution.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
+# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+# SUCH DAMAGE.
+#
+# $FreeBSD$
+#
+
+set -e
+
+trap "umount /cfg" 1 2 15 EXIT
+mount /cfg
+(
+cd /cfg
+for i in "$@" `find * -type f`
+do
+ cmp -s /etc/$i /cfg/$i || cp -pfv /etc/$i /cfg/$i
+done
+)
+umount /cfg
+trap 1 2 15 EXIT
Added: head/tools/tools/nanobsd/pcengines/Files/root/save_sshkeys
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/tools/tools/nanobsd/pcengines/Files/root/save_sshkeys Thu Nov 19 16:27:51 2009 (r199536)
@@ -0,0 +1,40 @@
+#!/bin/sh
+#
+# Copyright (c) 2004-2005 Poul-Henning Kamp.
+# All rights reserved.
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions
+# are met:
+# 1. Redistributions of source code must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+# 2. Redistributions in binary form must reproduce the above copyright
+# notice, this list of conditions and the following disclaimer in the
+# documentation and/or other materials provided with the distribution.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
+# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+# SUCH DAMAGE.
+#
+# $FreeBSD$
+#
*** DIFF OUTPUT TRUNCATED AT 1000 LINES ***
More information about the svn-src-head
mailing list