|
From: Heiko Z. <smi...@us...> - 2004-12-29 03:03:20
|
Update of /cvsroot/devil-linux/build/scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3763 Added Files: mk_devices Log Message: we need to have a minimal set of devices in order to boot --- NEW FILE: mk_devices --- #!/bin/bash # $Source$ # $Revision$ # $Date$ # # http://www.devil-linux.org # # create the needed devices for ramdisk and initrd # you need the next line, otherwise script won't be executed !!! # DL-build-system v3 ### BEGIN INIT INFO # Provides: mk_devices # Required-Start: $basebuildtools $libs $installbase # Required-Stop: # Default-Start: 2 # Default-Stop: # Description: description ### END INIT INFO # get the directoryname of the script MYDIR=${0%/*} # source functions and config source $MYDIR/settings case $1 in install ) echo "creating devices in INITRD" mknod $INITRDDIR/dev/null c 1 3 > /dev/null mknod $INITRDDIR/dev/console c 5 1 > /dev/null ;; * ) echo "Usage: $0 {install}" exit 1 ;; esac |