diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2009-05-19 20:11:38 +0200 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2009-05-19 20:15:19 +0200 |
commit | 4237b5c87f1dcc2d9589d1b1e8b3906236d54453 (patch) | |
tree | cb0fedb573886af5aa4bfb4b84b62fa0da70e087 /target/device/Atmel/atngw100-expanded/target_skeleton/etc/init.d/S00mountvirtfs | |
parent | 555e933bb032be99ed54dbed70ad9e2bf4370880 (diff) | |
download | buildroot-novena-4237b5c87f1dcc2d9589d1b1e8b3906236d54453.tar.gz buildroot-novena-4237b5c87f1dcc2d9589d1b1e8b3906236d54453.zip |
target/device/Atmel: remove atngw100-expanded config
Doesn't make much sense without working xserver.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'target/device/Atmel/atngw100-expanded/target_skeleton/etc/init.d/S00mountvirtfs')
-rwxr-xr-x | target/device/Atmel/atngw100-expanded/target_skeleton/etc/init.d/S00mountvirtfs | 76 |
1 files changed, 0 insertions, 76 deletions
diff --git a/target/device/Atmel/atngw100-expanded/target_skeleton/etc/init.d/S00mountvirtfs b/target/device/Atmel/atngw100-expanded/target_skeleton/etc/init.d/S00mountvirtfs deleted file mode 100755 index a5af059fc..000000000 --- a/target/device/Atmel/atngw100-expanded/target_skeleton/etc/init.d/S00mountvirtfs +++ /dev/null @@ -1,76 +0,0 @@ -#!/bin/sh - -MOUNT=/bin/mount -MKDIR=/bin/mkdir - -retval=0 - -mount_fs() -{ - if [ "$1" = "" -o "$2" = "" -o "$3" = "" ]; then - return; - fi - - if [ "$4" = "" ]; then - if ! ${MOUNT} -t $3 $1 $2; then - echo " mount $2 failed" - retval=1 - return 1 - else - echo " $2 mounted" - fi - else - if ! ${MOUNT} -t $3 -o $4 $1 $2; then - echo " mount $2 failed" - retval=1 - return 1 - else - echo " $2 mounted" - fi - fi - - return 0 -} - -mkdir_fs() -{ - if [ "$1" = "" ]; then - return; - fi - - if ! ${MKDIR} $1; then - echo " mkdir $1 failed" - retval=1 - return 1 - else - echo " $1 directory made" - fi - - return 0 -} - -echo "Mounting virtual filesystems:" - -mount_fs proc /proc proc -mount_fs sys /sys sysfs - -if mount_fs dev /dev tmpfs "size=512k,mode=0755"; then - mkdir_fs /dev/pts - mount_fs pts /dev/pts devpts - mkdir_fs /dev/shm - # g_serial is not detected by mdev. - mknod /dev/ttygserial c 127 0 - mknod /dev/ttyS0 c 4 64 - mknod /dev/null c 1 3 -fi - -mount_fs config /config configfs -mount_fs tmp /tmp tmpfs -mount_fs run /var/run tmpfs -mount_fs log /var/log tmpfs - -if [ $retval -ne 0 ]; then - echo " WARNING: not able to mount all virtual file systems" -fi - -exit $retval |