summaryrefslogtreecommitdiffstats
path: root/build_tools/larch7/larch0/profiles/linhes-local-mirror-testing-i686/post_process
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2010-11-04 18:06:25 (GMT)
committerJames Meyer <james.meyer@operamail.com>2010-11-04 18:06:27 (GMT)
commit429f14eea9f4c00ddd8d82f25612213df8d4af84 (patch)
treed8441dd4ef5ef539c0b263b138d36fb1995c38d8 /build_tools/larch7/larch0/profiles/linhes-local-mirror-testing-i686/post_process
parent11ef4af01d6e197a54d0759e688ab5cbd336be4b (diff)
downloadlinhes_dev-429f14eea9f4c00ddd8d82f25612213df8d4af84.zip
add profiles for larch 7
Diffstat (limited to 'build_tools/larch7/larch0/profiles/linhes-local-mirror-testing-i686/post_process')
-rwxr-xr-xbuild_tools/larch7/larch0/profiles/linhes-local-mirror-testing-i686/post_process/home/mythtv/.bash_profile1
-rwxr-xr-xbuild_tools/larch7/larch0/profiles/linhes-local-mirror-testing-i686/post_process/home/mythtv/.bashrc3
-rwxr-xr-xbuild_tools/larch7/larch0/profiles/linhes-local-mirror-testing-i686/post_process/home/mythtv/.fluxbox/apps4
-rwxr-xr-xbuild_tools/larch7/larch0/profiles/linhes-local-mirror-testing-i686/post_process/home/mythtv/.fluxbox/init35
-rwxr-xr-xbuild_tools/larch7/larch0/profiles/linhes-local-mirror-testing-i686/post_process/home/mythtv/.fluxbox/menu81
-rwxr-xr-xbuild_tools/larch7/larch0/profiles/linhes-local-mirror-testing-i686/post_process/home/mythtv/.fluxbox/menuconfig65
-rwxr-xr-xbuild_tools/larch7/larch0/profiles/linhes-local-mirror-testing-i686/post_process/home/mythtv/.fluxbox/wallpaper.pngbin0 -> 119287 bytes
-rwxr-xr-xbuild_tools/larch7/larch0/profiles/linhes-local-mirror-testing-i686/post_process/home/mythtv/.xinitrc18
-rwxr-xr-xbuild_tools/larch7/larch0/profiles/linhes-local-mirror-testing-i686/post_process/home/mythtv/.xsession10
-rwxr-xr-xbuild_tools/larch7/larch0/profiles/linhes-local-mirror-testing-i686/post_process/hosts.allow8
-rwxr-xr-xbuild_tools/larch7/larch0/profiles/linhes-local-mirror-testing-i686/post_process/hosts.deny6
-rwxr-xr-xbuild_tools/larch7/larch0/profiles/linhes-local-mirror-testing-i686/post_process/menu.lst60
-rwxr-xr-xbuild_tools/larch7/larch0/profiles/linhes-local-mirror-testing-i686/post_process/modify_chroot.sh15
-rwxr-xr-xbuild_tools/larch7/larch0/profiles/linhes-local-mirror-testing-i686/post_process/rc.conf112
-rwxr-xr-xbuild_tools/larch7/larch0/profiles/linhes-local-mirror-testing-i686/post_process/rc.shutdown104
15 files changed, 522 insertions, 0 deletions
diff --git a/build_tools/larch7/larch0/profiles/linhes-local-mirror-testing-i686/post_process/home/mythtv/.bash_profile b/build_tools/larch7/larch0/profiles/linhes-local-mirror-testing-i686/post_process/home/mythtv/.bash_profile
new file mode 100755
index 0000000..c49349b
--- /dev/null
+++ b/build_tools/larch7/larch0/profiles/linhes-local-mirror-testing-i686/post_process/home/mythtv/.bash_profile
@@ -0,0 +1 @@
+. $HOME/.bashrc
diff --git a/build_tools/larch7/larch0/profiles/linhes-local-mirror-testing-i686/post_process/home/mythtv/.bashrc b/build_tools/larch7/larch0/profiles/linhes-local-mirror-testing-i686/post_process/home/mythtv/.bashrc
new file mode 100755
index 0000000..fcabce0
--- /dev/null
+++ b/build_tools/larch7/larch0/profiles/linhes-local-mirror-testing-i686/post_process/home/mythtv/.bashrc
@@ -0,0 +1,3 @@
+alias ls='ls --color=auto'
+PS1='[\u@\h \W]\$ '
+
diff --git a/build_tools/larch7/larch0/profiles/linhes-local-mirror-testing-i686/post_process/home/mythtv/.fluxbox/apps b/build_tools/larch7/larch0/profiles/linhes-local-mirror-testing-i686/post_process/home/mythtv/.fluxbox/apps
new file mode 100755
index 0000000..994daf7
--- /dev/null
+++ b/build_tools/larch7/larch0/profiles/linhes-local-mirror-testing-i686/post_process/home/mythtv/.fluxbox/apps
@@ -0,0 +1,4 @@
+#Uncomment below if you are using firewire
+#[startup] {/usr/bin/plugctl -n 0 "oPCR[0].n_p2pconnections=1"}
+[startup] {feh --bg-scale ~/.fluxbox/wallpaper.png}
+[startup] {/usr/LH/bin/LinHES-run}
diff --git a/build_tools/larch7/larch0/profiles/linhes-local-mirror-testing-i686/post_process/home/mythtv/.fluxbox/init b/build_tools/larch7/larch0/profiles/linhes-local-mirror-testing-i686/post_process/home/mythtv/.fluxbox/init
new file mode 100755
index 0000000..9791a7f
--- /dev/null
+++ b/build_tools/larch7/larch0/profiles/linhes-local-mirror-testing-i686/post_process/home/mythtv/.fluxbox/init
@@ -0,0 +1,35 @@
+session.screen0.slit.placement: BottomRight
+session.screen0.slit.direction: Vertical
+session.screen0.slit.onTop: False
+session.screen0.slit.autoHide: True
+session.screen0.tab.placement: Top
+session.screen0.toolbar.onTop: False
+session.screen0.toolbar.visible: False
+session.screen0.toolbar.autoHide: False
+session.screen0.toolbar.placement: BottomCenter
+session.screen0.toolbar.widthPercent: 66
+session.screen0.workspaceNames: one,two,three,four
+session.screen0.strftimeFormat: %k:%M
+session.screen0.focusNewWindows: True
+session.screen0.focusModel: ClickToFocus
+session.screen0.fullMaximization: False
+session.screen0.edgeSnapThreshold: 0
+session.screen0.rowPlacementDirection: LeftToRight
+session.screen0.workspaces: 4
+session.screen0.focusLastWindow: True
+session.screen0.colPlacementDirection: TopToBottom
+session.screen0.windowPlacement: RowSmartPlacement
+session.screen0.tab.width: 64
+session.screen0.tab.height: 16
+session.screen0.showwindowposition: true
+session.opaqueMove: False
+session.autoRaiseDelay: 250
+session.menuFile: ~/.fluxbox/menu
+session.cacheLife: 5
+session.styleFile: /usr/share/fluxbox/styles/Artwiz
+session.keyFile: ~/.fluxbox/keys
+session.colorsPerChannel: 4
+session.doubleClickInterval: 250
+session.cacheMax: 200
+session.imageDither: True
+session.configVersion: 1
diff --git a/build_tools/larch7/larch0/profiles/linhes-local-mirror-testing-i686/post_process/home/mythtv/.fluxbox/menu b/build_tools/larch7/larch0/profiles/linhes-local-mirror-testing-i686/post_process/home/mythtv/.fluxbox/menu
new file mode 100755
index 0000000..858090e
--- /dev/null
+++ b/build_tools/larch7/larch0/profiles/linhes-local-mirror-testing-i686/post_process/home/mythtv/.fluxbox/menu
@@ -0,0 +1,81 @@
+# Generated by fluxbox-generate_menu
+#
+# If you read this it means you want to edit this file manually, so here
+# are some useful tips:
+#
+# - You can add your own menu-entries to ~/.fluxbox/usermenu
+#
+# - If you miss apps please let me know and I will add them for the next
+# release.
+#
+# - The -r option prevents removing of empty menu entries and lines which
+# makes things much more readable.
+#
+# - To prevent any other app from overwriting your menu
+# you can change the menu name in .fluxbox/init to:
+# session.menuFile: /home/mythtv/.fluxbox/my-menu
+[begin] (Fluxbox)
+[encoding] {UTF-8}
+ [exec] (xterm) {xterm}
+ [exec] () {} execname is NULL; cannot lookup
+ [exec] (Run) {fbrun }
+[submenu] (Terminals)
+ [exec] (xterm) {xterm}
+[end]
+[submenu] (Editors)
+ [exec] (xedit) {xedit}
+ [exec] (nano) {xterm -e nano}
+ [exec] (vi) {xterm -e vi}
+[end]
+[submenu] (Multimedia)
+[submenu] (Audio)
+ [exec] (alsamixer) {xterm -e alsamixer}
+[end]
+[submenu] (Video)
+ [exec] (gmplayer) {gmplayer}
+[end]
+[submenu] (X-utils)
+ [exec] (xfontsel) {xfontsel}
+ [exec] (xman) {xman}
+ [exec] (xload) {xload}
+ [exec] (xbiff) {xbiff}
+ [exec] (xclock) {xclock}
+ [exec] (xmag) {xmag}
+ [exec] (Reload .Xdefaults) {xrdb -load /home/mythtv/.Xdefaults}
+[end]
+[end]
+[submenu] (Office)
+ [exec] (xclock) {xclock}
+ [exec] (xcalc) {xcalc}
+[end]
+[submenu] (Games)
+ [exec] (xeyes) {xeyes}
+[end]
+[submenu] (System Tools)
+ [exec] (top) {xterm -e top}
+[end]
+[submenu] (fluxbox menu)
+ [config] (Configure)
+[submenu] (System Styles) {Choose a style...}
+ [stylesdir] (/usr/share/fluxbox/styles)
+[end]
+[submenu] (User Styles) {Choose a style...}
+ [stylesdir] (~/.fluxbox/styles)
+[end]
+ [workspaces] (Workspace List)
+[submenu] (Tools)
+ [exec] (Window name) {xprop WM_CLASS|cut -d \" -f 2|xmessage -file - -center}
+ [exec] (Screenshot - JPG) {import screenshot.jpg && display -resize 50% screenshot.jpg}
+ [exec] (Screenshot - PNG) {import screenshot.png && display -resize 50% screenshot.png}
+ [exec] (Run) {fbrun }
+ [exec] (Regen Menu) {/usr/bin/fluxbox-generate_menu }
+[end]
+ [commanddialog] (Fluxbox Command)
+ [reconfig] (Reload config)
+ [restart] (Restart)
+ [exec] (About) {(fluxbox -v; fluxbox -info | sed 1d) 2> /dev/null | xmessage -file - -center}
+ [separator]
+ [exit] (Exit)
+[end]
+[endencoding]
+[end]
diff --git a/build_tools/larch7/larch0/profiles/linhes-local-mirror-testing-i686/post_process/home/mythtv/.fluxbox/menuconfig b/build_tools/larch7/larch0/profiles/linhes-local-mirror-testing-i686/post_process/home/mythtv/.fluxbox/menuconfig
new file mode 100755
index 0000000..ef5b398
--- /dev/null
+++ b/build_tools/larch7/larch0/profiles/linhes-local-mirror-testing-i686/post_process/home/mythtv/.fluxbox/menuconfig
@@ -0,0 +1,65 @@
+# This file is read by fluxbox-generate_menu. If you don't like a
+# default you can change it here. Don't forget to remove the # in front
+# of the line.
+
+# Your favourite terminal. Put the command in quotes if you want to use
+# options. Put a backslash in before odd chars
+# MY_TERM='Eterm --tint \#123456'
+# MY_TERM='aterm -tint $(random_color)'
+
+# Your favourite browser. You can also specify options.
+# MY_BROWSER=mozilla
+
+# Name of the outputfile
+# MENUFILENAME=/home/mythtv/.fluxbox/menu
+
+# MENUTITLE=`fluxbox -version|cut -d " " -f-2`
+
+# standard url for console-browsers
+# HOMEPAGE=fluxbox.org
+
+# location with your own menu-entries
+# USERMENU=~/.fluxbox/usermenu
+
+# Put the launcher you would like to use here
+# LAUNCHER=fbrun
+# LAUNCHER=fbgm
+
+# Options for fbrun
+# FBRUNOPTIONS='-font 10x20 -fg grey -bg black -title run'
+
+# --- PREFIX'es
+# These are prefixes; So if fluxbox is installed in /usr/bin/fluxbox
+# your prefix is: /usr
+
+# fluxbox-generate already looks in /usr/X11R6, /usr, /usr/local and /opt so
+# there should be no need to specify them.
+#
+# PREFIX=/usr
+# GNOME_PREFIX=/opt/gnome
+# KDE_PREFIX=/opt/kde
+
+
+# Sepparate the list of background-dirs with semicolumns ':'
+# BACKGROUND_DIRS="/home/mythtv/.fluxbox/backgrounds/:/usr/share/fluxbox/backgrounds/:/usr/share/wallpapers"
+
+
+# --- Boolean variables.
+# Setting a variable to no'' won't help. Comment them out if you don't
+# want them. Setting are overruled by the command-line options.
+
+# Include all backgrounds in your backgrounds-directory
+# BACKGROUNDMENUITEM=yes
+
+# Include kde-menus
+# KDEMENU=yes
+
+# Include gnome-menus
+# GNOMEMENU=yes
+
+# enable sudo commands
+# DOSUDO=yes
+
+# Don't cleanup the menu
+# REMOVE=no
+
diff --git a/build_tools/larch7/larch0/profiles/linhes-local-mirror-testing-i686/post_process/home/mythtv/.fluxbox/wallpaper.png b/build_tools/larch7/larch0/profiles/linhes-local-mirror-testing-i686/post_process/home/mythtv/.fluxbox/wallpaper.png
new file mode 100755
index 0000000..83da80c
--- /dev/null
+++ b/build_tools/larch7/larch0/profiles/linhes-local-mirror-testing-i686/post_process/home/mythtv/.fluxbox/wallpaper.png
Binary files differ
diff --git a/build_tools/larch7/larch0/profiles/linhes-local-mirror-testing-i686/post_process/home/mythtv/.xinitrc b/build_tools/larch7/larch0/profiles/linhes-local-mirror-testing-i686/post_process/home/mythtv/.xinitrc
new file mode 100755
index 0000000..911e76e
--- /dev/null
+++ b/build_tools/larch7/larch0/profiles/linhes-local-mirror-testing-i686/post_process/home/mythtv/.xinitrc
@@ -0,0 +1,18 @@
+#!/bin/sh
+
+#
+# ~/.xinitrc
+#
+# Executed by startx (run your window manager from here)
+#
+
+# exec gnome-session
+# exec startkde
+# exec startxfce4
+# exec icewm
+# exec openbox
+# exec blackbox
+exec fluxbox
+# exec ratpoison
+# exec dwm
+# ... or any other WM of your choosing ...
diff --git a/build_tools/larch7/larch0/profiles/linhes-local-mirror-testing-i686/post_process/home/mythtv/.xsession b/build_tools/larch7/larch0/profiles/linhes-local-mirror-testing-i686/post_process/home/mythtv/.xsession
new file mode 100755
index 0000000..a16dc0b
--- /dev/null
+++ b/build_tools/larch7/larch0/profiles/linhes-local-mirror-testing-i686/post_process/home/mythtv/.xsession
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+#
+# ~/.xsession
+#
+# Executed by xdm/gdm/kdm at login
+#
+
+/bin/bash --login -i ~/.xinitrc
+
diff --git a/build_tools/larch7/larch0/profiles/linhes-local-mirror-testing-i686/post_process/hosts.allow b/build_tools/larch7/larch0/profiles/linhes-local-mirror-testing-i686/post_process/hosts.allow
new file mode 100755
index 0000000..f6cf005
--- /dev/null
+++ b/build_tools/larch7/larch0/profiles/linhes-local-mirror-testing-i686/post_process/hosts.allow
@@ -0,0 +1,8 @@
+#
+# /etc/hosts.allow
+#
+ALL: 192.168.
+ALL: 10.
+ALL: 127.0.0.1
+ALL: 172.16.
+# End of file
diff --git a/build_tools/larch7/larch0/profiles/linhes-local-mirror-testing-i686/post_process/hosts.deny b/build_tools/larch7/larch0/profiles/linhes-local-mirror-testing-i686/post_process/hosts.deny
new file mode 100755
index 0000000..ca30ab4
--- /dev/null
+++ b/build_tools/larch7/larch0/profiles/linhes-local-mirror-testing-i686/post_process/hosts.deny
@@ -0,0 +1,6 @@
+#
+# /etc/hosts.deny
+#
+ALL
+
+# End of file
diff --git a/build_tools/larch7/larch0/profiles/linhes-local-mirror-testing-i686/post_process/menu.lst b/build_tools/larch7/larch0/profiles/linhes-local-mirror-testing-i686/post_process/menu.lst
new file mode 100755
index 0000000..8a8e3b2
--- /dev/null
+++ b/build_tools/larch7/larch0/profiles/linhes-local-mirror-testing-i686/post_process/menu.lst
@@ -0,0 +1,60 @@
+# Config file for GRUB - The GNU GRand Unified Bootloader
+# /boot/grub/menu.lst
+
+# DEVICE NAME CONVERSIONS
+#
+# Linux Grub
+# -------------------------
+# /dev/fd0 (fd0)
+# /dev/hda (hd0)
+# /dev/hdb2 (hd1,1)
+# /dev/hda3 (hd0,2)
+#
+
+# FRAMEBUFFER RESOLUTION SETTINGS
+# +-------------------------------------------------+
+# | 640x480 800x600 1024x768 1280x1024
+# ----+--------------------------------------------
+# 256 | 0x301=769 0x303=771 0x305=773 0x307=775
+# 32K | 0x310=784 0x313=787 0x316=790 0x319=793
+# 64K | 0x311=785 0x314=788 0x317=791 0x31A=794
+# 16M | 0x312=786 0x315=789 0x318=792 0x31B=795
+# +-------------------------------------------------+
+
+# general configuration:
+timeout 5
+default 0
+#color light-blue/black light-cyan/blue
+
+# boot sections follow
+# each is implicitly numbered from 0 in the order of appearance below
+#
+# TIP: If you want a 1024x768 framebuffer, add "vga=773" to your kernel line.
+#
+#-*
+hiddenmenu
+
+# (0) normal
+title LinHes
+root (hd0,0)
+kernel /boot/vmlinuz26 root=/dev/hda1 ro init=/sbin/runit console=tty1
+initrd /boot/kernel26.img
+
+# (1) bootsplash
+title LinHes-splashy
+root (hd0,0)
+kernel /boot/vmlinuz26 root=/dev/hda1 ro init=/sbin/runit quiet vga=0x314 splash=silent,theme:linhes console=tty1
+initrd /boot/kernel26.img
+
+# (2) noautologin
+title LinHES-nologin
+root (hd0,0)
+kernel /boot/vmlinuz26 root=/dev/hda1 ro init=/sbin/runit quiet vga=0x314 splash=silent,theme:linhes console=tty1 nox
+initrd /boot/kernel26.img
+
+
+# (3) normal
+title LinHes-init
+root (hd0,0)
+kernel /boot/vmlinuz26 root=/dev/hda1 ro console=tty1
+initrd /boot/kernel26.img
diff --git a/build_tools/larch7/larch0/profiles/linhes-local-mirror-testing-i686/post_process/modify_chroot.sh b/build_tools/larch7/larch0/profiles/linhes-local-mirror-testing-i686/post_process/modify_chroot.sh
new file mode 100755
index 0000000..ad83b2c
--- /dev/null
+++ b/build_tools/larch7/larch0/profiles/linhes-local-mirror-testing-i686/post_process/modify_chroot.sh
@@ -0,0 +1,15 @@
+#!/bin/bash
+echo "larch5" > /etc/hostname
+useradd -m -s /bin/bash mythtv -G audio,video,optical,storage,users
+cp -rvpf /.post_process/home/mythtv /home/
+cp -rvpf /.post_process/home/mythtv/.fluxbox /root
+chown -R mythtv.mythtv /home/mythtv/
+chown -R mythtv.mythtv /myth
+
+cp -f /.post_process/hosts.allow /etc/hosts.allow
+cp -f /.post_process/rc.conf /etc/rc.conf
+#cp -f /.post_process/rc.shutdown /etc/rc.shutdown
+cp -f /.post_process/menu.lst /boot/grub/menu.lst
+
+cp -f /etc/skel/.bash* /root/
+rm -f /etc/ssh/ssh_host*key*
diff --git a/build_tools/larch7/larch0/profiles/linhes-local-mirror-testing-i686/post_process/rc.conf b/build_tools/larch7/larch0/profiles/linhes-local-mirror-testing-i686/post_process/rc.conf
new file mode 100755
index 0000000..9c17944
--- /dev/null
+++ b/build_tools/larch7/larch0/profiles/linhes-local-mirror-testing-i686/post_process/rc.conf
@@ -0,0 +1,112 @@
+#
+# /etc/rc.conf - Main Configuration for Arch Linux
+#
+
+#
+# -----------------------------------------------------------------------
+# LOCALIZATION
+# -----------------------------------------------------------------------
+#
+# LOCALE: available languages can be listed with the 'locale -a' command
+# HARDWARECLOCK: set to "UTC" or "localtime"
+# TIMEZONE: timezones are found in /usr/share/zoneinfo
+# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
+# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
+# CONSOLEMAP: found in /usr/share/kbd/consoletrans
+# USECOLOR: use ANSI color sequences in startup messages
+#
+LOCALE="en_US.utf8"
+HARDWARECLOCK="UTC"
+TIMEZONE="US/Central"
+KEYMAP="us"
+CONSOLEFONT=
+CONSOLEMAP=
+USECOLOR="yes"
+
+#
+# -----------------------------------------------------------------------
+# HARDWARE
+# -----------------------------------------------------------------------
+#
+# Scan hardware and load required modules at bootup
+MOD_AUTOLOAD="yes"
+if [ -f /etc/systemconfig ]
+then
+ . /etc/systemconfig
+fi
+
+if [ x$Audiotype = xOSS -a ! -f /tmp/.alsatest ]
+then
+ ALSABLACKLIST="!soundcore"
+else
+ if [ x$Audiotype = xOSS ]
+ then
+ ALSABLACKLIST="!soundcore"
+ else
+ ALSABLACKLIST=""
+ fi
+fi
+
+# Module Blacklist - modules in this list will never be loaded by udev
+MOD_BLACKLIST_=($ALSABLACKLIST !snd-pcsp )
+#
+# Modules to load at boot-up (in this order)
+# - prefix a module with a ! to blacklist it
+#
+MODULES=($MOD_BLACKLIST_)
+# Scan for LVM volume groups at startup, required if you use LVM
+USELVM="no"
+
+#
+# -----------------------------------------------------------------------
+# NETWORKING
+# -----------------------------------------------------------------------
+#
+HOSTNAME=`cat /etc/hostname`
+
+#The following is only used on the install. After the first boot everything is set from /etc/net.
+
+
+#
+# Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available
+# interfaces.
+#
+# Interfaces to start at boot-up (in this order)
+# Declare each interface then list in INTERFACES
+# - prefix an entry in INTERFACES with a ! to disable it
+# - no hyphens in your interface names - Bash doesn't like it
+#
+# Note: to use DHCP, set your interface to be "dhcp" (eth0="dhcp")
+#
+lo="lo 127.0.0.1"
+#eth0="dhcp"
+INTERFACES=(lo )
+#
+# Routes to start at boot-up (in this order)
+# Declare each route then list in ROUTES
+# - prefix an entry in ROUTES with a ! to disable it
+#
+gateway="default gw 192.168.0.1"
+ROUTES=(!gateway)
+#
+# Enable these network profiles at boot-up. These are only useful
+# if you happen to need multiple network configurations (ie, laptop users)
+# - set to 'menu' to present a menu during boot-up (dialog package required)
+# - prefix an entry with a ! to disable it
+#
+# Network profiles are found in /etc/network-profiles
+#
+#NET_PROFILES=(main)
+
+#
+# -----------------------------------------------------------------------
+# DAEMONS
+# -----------------------------------------------------------------------
+#
+# Daemons to start at boot-up (in this order)
+# - prefix a daemon with a ! to disable it
+# - prefix a daemon with a @ to start it up in the background
+#
+#DAEMONS=(syslog-ng network netfs crond)
+DAEMONS=(fbsplash !syslog-ng !hotplug !pcmcia network !mysqld !dbus !avahi-daemon)
+# End of file
diff --git a/build_tools/larch7/larch0/profiles/linhes-local-mirror-testing-i686/post_process/rc.shutdown b/build_tools/larch7/larch0/profiles/linhes-local-mirror-testing-i686/post_process/rc.shutdown
new file mode 100755
index 0000000..1a8cdbe
--- /dev/null
+++ b/build_tools/larch7/larch0/profiles/linhes-local-mirror-testing-i686/post_process/rc.shutdown
@@ -0,0 +1,104 @@
+#!/bin/bash
+#
+# /etc/rc.shutdown
+#
+
+. /etc/rc.conf
+. /etc/rc.d/functions
+
+# avoid staircase effect
+/bin/stty onlcr
+
+echo " "
+printhl "Initiating Shutdown..."
+echo " "
+
+if [ -x /etc/rc.local.shutdown ]; then
+ /etc/rc.local.shutdown
+fi
+
+if [ "$PREVLEVEL" = "3" -o "$PREVLEVEL" = "5" ]; then
+ # Shutdown daemons
+ let i=${#DAEMONS[@]}
+ while [[ i -ge 0 ]]; do
+ if [[ `echo ${DAEMONS[$i]} | grep '^[^\!]' | wc -l` -eq 1 ]]; then
+ /etc/rc.d/${DAEMONS[$i]#@} stop
+ fi
+ let i=i-1
+ done
+ # find any leftover daemons and shut them down
+ if [ -d /var/run/daemons ]; then
+ for daemon in `ls /var/run/daemons`; do
+ /etc/rc.d/$daemon stop
+ done
+ fi
+fi
+
+# Terminate all processes
+stat_busy "Sending SIGTERM To Processes"
+/sbin/killall5 -15 &> /dev/null
+/bin/sleep 5
+stat_done
+
+stat_busy "Sending SIGKILL To Processes"
+/sbin/killall5 -9 &> /dev/null
+/bin/sleep 1
+stat_done
+
+stat_busy "Saving Random Seed"
+/bin/dd if=/dev/urandom of=/var/run/random-seed count=1 bs=512 2> /dev/null
+stat_done
+
+stat_busy "Saving System Clock"
+if [ "$HARDWARECLOCK" = "UTC" ]; then
+ /sbin/hwclock --directisa --utc --systohc
+else
+ /sbin/hwclock --directisa --localtime --systohc
+fi
+stat_done
+
+# removing psmouse module to fix some reboot issues on newer laptops
+modprobe -r psmouse >/dev/null 2>&1
+
+# Write to wtmp file before unmounting
+/sbin/halt -w
+
+stat_busy "Deactivating Swap"
+/sbin/swapoff -a
+stat_done
+
+stat_busy "Unmounting Filesystems"
+/bin/umount -a
+stat_done
+
+if [ "$USELVM" = "yes" -o "$USELVM" = "YES" ]; then
+ if [ -d /etc/lvm -a -x /sbin/lvm ]; then
+ /bin/mount -n -t sysfs none /sys 2>/dev/null
+ if [ -d /sys/block ]; then
+ stat_busy "Deactivating LVM2 groups"
+ /sbin/lvm vgchange --ignorelockingfailure -a n
+ stat_done
+ umount /sys
+ fi
+ fi
+fi
+
+stat_busy "Remounting Root Filesystem Read-only"
+/bin/mount -n -o remount,ro /
+stat_done
+exit 0
+# Power off or reboot
+if [ "$RUNLEVEL" = "0" ]; then
+ printsep
+ printhl "${C_H2}POWER OFF"
+ /sbin/poweroff -d -f -h -i
+else
+ printsep
+ printhl "${C_H2}REBOOTING"
+ # adding kexec support
+ [ -x /usr/sbin/kexec ] && /usr/sbin/kexec -e > /dev/null 2>&1
+ /sbin/reboot -d -f -i
+fi
+
+# End of file
+# vim: set ts=2 noet: