Browse Source

fake:


			
			
				rocklinux
			
			
		
fake 19 years ago
parent
commit
404e38a933
2 changed files with 10 additions and 1 deletions
  1. +5
    -1
      package/base/00-dirtree/00-dirtree.conf
  2. +5
    -0
      package/base/00-dirtree/data.txt

+ 5
- 1
package/base/00-dirtree/00-dirtree.conf

@ -25,7 +25,7 @@ main_dt() {
echo -n "Change to root directory ... "
mkdir -p $xroot/ ; cd $xroot/ ; echo 'done'
while read a b c ; do
while read a b c d e ; do
if [ "$a" = "chmod" -o "$a" = "chown" ] ; then
echo "Running $a ($b) on $c ..."
$a "$b" "$xroot/$c"
@ -40,6 +40,10 @@ main_dt() {
ln -fsn "$c" "$xroot/$b"
elif [ "$a" = "l64" ] ; then
true
elif [ "$a" = "mknod" ] ; then
echo "Creating Device Node $b ..."
$a "$xroot/$b" $c $d $e
add_flist "$xroot/$b"
else
echo "Syntax Error: $a $b $c" ; false
fi

+ 5
- 0
package/base/00-dirtree/data.txt

@ -137,3 +137,8 @@ chmod ugo=rwxt tmp
chmod ugo=rwxt var/mail
chmod ugo=rwxt var/tmp
mknod dev/null c 1 3
mknod dev/zero c 1 5
mknod dev/tty c 5 0
mknod dev/console c 5 1

Loading…
Cancel
Save