summaryrefslogtreecommitdiff
path: root/packages/altboot/files/altboot.rc
diff options
context:
space:
mode:
authorMatthias Hentges <oe@hentges.net>2007-03-28 22:13:05 +0000
committerMatthias Hentges <oe@hentges.net>2007-03-28 22:13:05 +0000
commit2992d24c5ad56361a793281566b1ff7c76aa2836 (patch)
tree5c34807a2a39f0893cbfa9677a614aacc8fbe5c1 /packages/altboot/files/altboot.rc
parent7e18fbe25e35f1801955ee150622761a07c8b8f1 (diff)
altboot:
- Drop files/* and altboot_0.0.0.bb - Add altboot_svn.bb - Add README.txt explaining what the different versions do
Diffstat (limited to 'packages/altboot/files/altboot.rc')
-rw-r--r--packages/altboot/files/altboot.rc/.mtn2git_empty0
-rw-r--r--packages/altboot/files/altboot.rc/Readme.txt2
-rw-r--r--packages/altboot/files/altboot.rc/disable_printk.sh6
-rw-r--r--packages/altboot/files/altboot.rc/loadkeymap.sh8
-rw-r--r--packages/altboot/files/altboot.rc/playbeep.sh34
5 files changed, 0 insertions, 50 deletions
diff --git a/packages/altboot/files/altboot.rc/.mtn2git_empty b/packages/altboot/files/altboot.rc/.mtn2git_empty
deleted file mode 100644
index e69de29bb2..0000000000
--- a/packages/altboot/files/altboot.rc/.mtn2git_empty
+++ /dev/null
diff --git a/packages/altboot/files/altboot.rc/Readme.txt b/packages/altboot/files/altboot.rc/Readme.txt
deleted file mode 100644
index 985e1fe7d0..0000000000
--- a/packages/altboot/files/altboot.rc/Readme.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-Scripts (*.sh) in this folder are run by altboot before printing the menu.
-Note: The rootfs is still mounted ro at this point.
diff --git a/packages/altboot/files/altboot.rc/disable_printk.sh b/packages/altboot/files/altboot.rc/disable_printk.sh
deleted file mode 100644
index af15adec44..0000000000
--- a/packages/altboot/files/altboot.rc/disable_printk.sh
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/sh
-
-mount proc -t proc /proc >/dev/null 2>&1
-
-echo 0 > /proc/sys/kernel/printk
-
diff --git a/packages/altboot/files/altboot.rc/loadkeymap.sh b/packages/altboot/files/altboot.rc/loadkeymap.sh
deleted file mode 100644
index 97cff13dbb..0000000000
--- a/packages/altboot/files/altboot.rc/loadkeymap.sh
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/sh
-
-# Note: With kernel 2.6 the standard keymap is unusable
-test -x /etc/init.d/keymap && /etc/init.d/keymap start >/dev/null 2>&1
-
-# Do not exit w/ errorcode when the if above fails
-/bin/true
-
diff --git a/packages/altboot/files/altboot.rc/playbeep.sh b/packages/altboot/files/altboot.rc/playbeep.sh
deleted file mode 100644
index b41f098630..0000000000
--- a/packages/altboot/files/altboot.rc/playbeep.sh
+++ /dev/null
@@ -1,34 +0,0 @@
-#! /bin/sh
-#
-# Copyright Matthias Hentges <devel@hentges.net> (c) 2006
-# License: GPL (see http://www.gnu.org/licenses/gpl.txt for a copy of the license)
-#
-# Filename: playbeep.sh
-# Date: 12-Apr-06
-
-if test -x /usr/sbin/alsactl -a -e /etc/modules -a "$ENABLE_SOUND" = yes
-then
- for module in `cat /etc/modules | grep snd | grep -v ^#`
- do
- #echo "loading $module"
- modprobe $module >/dev/null 2>&1
- done
-
- mount -o remount,rw /
-
- init_rootfs >/dev/null 2>&1
-
- ! test -e /dev/audio && mknod /dev/audio c 14 4
- ! test -e /dev/dsp && mknod /dev/dsp c 14 3
-
- mkdir /dev/snd >/dev/null 2>&1
- mknod /dev/snd/controlC0 c 116 0 >/dev/null 2>&1
- mknod /dev/snd/pcmC0D0c c 116 24 >/dev/null 2>&1
- mknod /dev/snd/pcmC0D0p c 116 16 >/dev/null 2>&1
- mknod /dev/snd/timer c 116 33 >/dev/null 2>&1
- /usr/sbin/alsactl restore >/dev/null 2>&1
-
- test -e /usr/share/sounds/beep.raw && cat /usr/share/sounds/beep.raw > /dev/dsp
-fi
-
-/bin/true