Ticket #79: setdeb.sh
| File setdeb.sh, 333 bytes (added by dx, 13 months ago) |
|---|
| Line | |
|---|---|
| 1 | #!/bin/bash |
| 2 | #copy users, groups and host to debian install |
| 3 | cp /etc/passwd etc/ |
| 4 | cp /etc/group etc/ |
| 5 | cp /etc/hosts etc/ |
| 6 | |
| 7 | #add proc, dev to fstab |
| 8 | echo "/tmp $PWD/tmp none bind 0 0" >> /etc/fstab |
| 9 | echo "/dev $PWD/dev none bind 0 0" >> /etc/fstab |
| 10 | echo "/proc $PWD/proc proc defaults 0 0" >> /etc/fstab |
| 11 | |
| 12 | mount ./tmp |
| 13 | mount ./dev |
| 14 | mount ./proc |
