summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/udev/migrate-udev
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2008-11-30 06:03:49 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2008-11-30 06:03:49 (GMT)
commitdad9cc7a179efa966154cc5b945f2f6c4da7f477 (patch)
tree3d3292b1d5ce29c464c4e952991531699ff9cecf /abs/core-testing/udev/migrate-udev
parentf78fc8e0364cb99bf0b3c2fc941ba85c2fe5944f (diff)
downloadlinhes_pkgbuild-dad9cc7a179efa966154cc5b945f2f6c4da7f477.zip
linhes_pkgbuild-dad9cc7a179efa966154cc5b945f2f6c4da7f477.tar.gz
linhes_pkgbuild-dad9cc7a179efa966154cc5b945f2f6c4da7f477.tar.bz2
Updated udev to latest (130).
Diffstat (limited to 'abs/core-testing/udev/migrate-udev')
-rw-r--r--abs/core-testing/udev/migrate-udev29
1 files changed, 0 insertions, 29 deletions
diff --git a/abs/core-testing/udev/migrate-udev b/abs/core-testing/udev/migrate-udev
deleted file mode 100644
index a7a24c9..0000000
--- a/abs/core-testing/udev/migrate-udev
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/bin/bash
-
-# This script will create static system-critical device nodes in your /dev
-# tree so the initscripts can get by without devfs/udev long enough to start
-# up devfs/udev.
-
-STARTDIR=`pwd`
-TMPDIR=`mktemp -d`
-ROOT=/
-[ "$1" != "" ] && ROOT=$1
-
-mount --bind $ROOT $TMPDIR
-cd $TMPDIR
-
-echo -n "creating device nodes: "
-rm -f dev/console
-rm -f dev/null
-rm -f dev/zero
-mknod dev/console c 5 1
-echo -n "console "
-mknod -m 666 dev/null c 1 3
-echo -n "null "
-mknod -m 666 dev/zero c 1 5
-echo -n "zero "
-echo
-
-cd $STARTDIR
-umount $TMPDIR
-rm -rf $TMPDIR