Changeset 480
- Timestamp:
- 10/04/07 21:03:55 (4 years ago)
- Location:
- trunk/openmct
- Files:
-
- 3 modified
-
Rules (modified) (1 diff)
-
packages/build/buildetc/src/etc/rc.d/rcS (modified) (2 diffs)
-
scripts/cleanup-root.sh (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/openmct/Rules
r476 r480 5 5 # Base packages 6 6 BASEPACKAGES= packages/base/busybox \ 7 packages/lib/e2fsprogs \ 8 packages/net/dropbear \ 7 9 packages/net/nfsutils \ 8 10 packages/net/tcpwrapper \ -
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 -
trunk/openmct/scripts/cleanup-root.sh
r475 r480 8 8 rm -rf $1/var 9 9 rm -rf $1/etc 10 rm $1/lib/libstdc++.so* 10 11 mkdir $1/usr 11 12 mkdir $1/usr/home
