gcc484perl-5.22
|
Last change
on this file since d7191d1 was
c5c522c,
checked in by Edwin Eefting <edwin@datux.nl>, 9 years ago
|
|
initial commit, transferred from cleaned syn3 svn tree
|
-
Property mode set to
100644
|
|
File size:
336 bytes
|
| Line | |
|---|
| 1 | #!/bin/sh |
|---|
| 2 | |
|---|
| 3 | chvt 1 |
|---|
| 4 | |
|---|
| 5 | echo "Starting SYN-3 support shell:" |
|---|
| 6 | |
|---|
| 7 | if pidof telnetd >/dev/null; then |
|---|
| 8 | echo "(already running)" |
|---|
| 9 | exit 0 |
|---|
| 10 | fi |
|---|
| 11 | |
|---|
| 12 | telnetd -l /bin/ash |
|---|
| 13 | |
|---|
| 14 | cd /sys/class/net/ |
|---|
| 15 | for ETH in eth*; do |
|---|
| 16 | ifconfig $ETH up |
|---|
| 17 | udhcpc -i $ETH -b & |
|---|
| 18 | done |
|---|
| 19 | |
|---|
| 20 | wait |
|---|
| 21 | |
|---|
| 22 | echo |
|---|
| 23 | splashinfo "Support mode started. Verify IP address and press enter to continue." |
|---|
| 24 | |
|---|
| 25 | read |
|---|
| 26 | |
|---|
| 27 | |
|---|
Note: See
TracBrowser
for help on using the repository browser.