Show
Ignore:
Timestamp:
10/04/07 21:03:55 (5 years ago)
Author:
andi
Message:

Minor updates

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/openmct/packages/build/buildetc/src/etc/rc.d/rcS

    r479 r480  
    11#!/bin/sh 
    22export PATH=/bin:/sbin:/usr/bin:/usr/sbin 
     3 
     4# checking for directorys on HD, else no login via FTP or use of Samba, NFS is possibile 
     5# we create the directory with '-p' option on mkdir, so every directory ahead the named directory is builded automaticly 
     6 
     7DIRECTORY="/var/run/ifstate /var/empty /var/log/samba /var/run/samba /var/lib/samba /var/lib/nfs" 
     8echo "looking up for $DIRECTORY" 
     9for i in $DIRECTORY; do 
     10    test -d $i || mkdir -p $i; 
     11done 
    312 
    413echo -n "Mounting Data ... " 
     
    4251   echo "" 
    4352fi 
    44  
    45 # checking for directorys on HD, else no login via FTP or use of Samba, NFS is possibile 
    46 # we create the directory with '-p' option on mkdir, so every directory ahead the named directory is builded automaticly 
    47  
    48 DIRECTORY="/var/empty /var/log/samba /var/run/samba /var/lib/samba /var/lib/nfs" 
    49 echo "looking up for $DIRECTORY" 
    50 for i in $DIRECTORY; do 
    51     test -d $i || mkdir -p $i; 
    52 done 
    5353 
    5454# ok, and now checking for some files needed for NFS