source: npl/kernel/initrd_scripts/root/bin/sup @ ab298e7

Last change on this file since ab298e7 was c5c522c, checked in by Edwin Eefting <edwin@datux.nl>, 8 years ago

initial commit, transferred from cleaned syn3 svn tree

  • Property mode set to 100644
File size: 336 bytes
Line 
1#!/bin/sh
2
3chvt 1
4
5echo "Starting SYN-3 support shell:"
6
7if pidof telnetd >/dev/null; then
8        echo "(already running)"
9        exit 0
10fi
11
12telnetd -l /bin/ash
13
14cd /sys/class/net/
15for ETH in eth*; do
16        ifconfig $ETH up
17        udhcpc -i $ETH -b &
18done
19
20wait
21
22echo
23splashinfo "Support mode started. Verify IP address and press enter to continue."
24
25read
26
27
Note: See TracBrowser for help on using the repository browser.