kdebug/test-init.sh
raw| 1 | #!/bin/sh |
| 2 | PATH=/bin |
| 3 | |
| 4 | echo -n "Mounting filesystems ... " |
| 5 | mount -t proc proc /proc |
| 6 | mount -t devtmpfs dev /dev |
| 7 | mount -t sysfs sys /sys |
| 8 | mount -t devpts pts /dev/pts |
| 9 | echo done |
| 10 | |
| 11 | echo Hello, World |
| 12 | cd /root |
| 13 | if [ -f ./interactive ]; then |
| 14 | ./quicktest.sh |
| 15 | sh -i |
| 16 | else |
| 17 | ./quicktest.sh || ./exit 1 |
| 18 | fi |
| 19 | ./exit |