filesystems.sh 267 B

123456789101112
  1. #!/bin/sh
  2. export PATH=/usr/bin:/usr/sbin:/bin:/sbin
  3. if [ "$1" != "stop" ]; then
  4. echo "Mounting auxillary filesystems...."
  5. mount -t tmpfs -o nodev,nosuid tmpfs /dev/shm
  6. mount -t devpts -o gid=5 devpts /dev/pts
  7. swapon /swapfile
  8. mount -avt noproc,nonfs
  9. fi;