Changeset 480 for trunk/openmct/packages/build/buildetc/src/etc/rc.d/rcS
- Timestamp:
- 10/04/07 21:03:55 (5 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/openmct/packages/build/buildetc/src/etc/rc.d/rcS
r479 r480 1 1 #!/bin/sh 2 2 export 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 7 DIRECTORY="/var/run/ifstate /var/empty /var/log/samba /var/run/samba /var/lib/samba /var/lib/nfs" 8 echo "looking up for $DIRECTORY" 9 for i in $DIRECTORY; do 10 test -d $i || mkdir -p $i; 11 done 3 12 4 13 echo -n "Mounting Data ... " … … 42 51 echo "" 43 52 fi 44 45 # checking for directorys on HD, else no login via FTP or use of Samba, NFS is possibile46 # we create the directory with '-p' option on mkdir, so every directory ahead the named directory is builded automaticly47 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; do51 test -d $i || mkdir -p $i;52 done53 53 54 54 # ok, and now checking for some files needed for NFS
