mirror of https://github.com/dirtbags/moth.git
remove p2client (does not build)
This commit is contained in:
parent
0959e9df62
commit
ea169f6c1f
|
@ -1,55 +0,0 @@
|
||||||
keymaps 0-2
|
|
||||||
keycode 2 = one exclam
|
|
||||||
keycode 3 = two at
|
|
||||||
keycode 4 = three numbersign
|
|
||||||
keycode 5 = four dollar
|
|
||||||
keycode 6 = five percent
|
|
||||||
keycode 7 = six asciicircum
|
|
||||||
keycode 8 = seven ampersand
|
|
||||||
keycode 9 = eight asterisk
|
|
||||||
keycode 10 = nine parenleft
|
|
||||||
keycode 11 = zero parenright
|
|
||||||
keycode 12 = minus underscore
|
|
||||||
keycode 13 = equal plus
|
|
||||||
keycode 14 = Delete
|
|
||||||
keycode 16 = q
|
|
||||||
keycode 17 = w
|
|
||||||
keycode 18 = e
|
|
||||||
keycode 19 = r
|
|
||||||
keycode 20 = t
|
|
||||||
keycode 21 = y
|
|
||||||
keycode 22 = u
|
|
||||||
keycode 23 = i
|
|
||||||
keycode 24 = o
|
|
||||||
keycode 25 = p
|
|
||||||
keycode 26 = bracketleft braceleft
|
|
||||||
keycode 27 = bracketright braceright
|
|
||||||
keycode 28 = Return
|
|
||||||
keycode 30 = a
|
|
||||||
keycode 31 = s
|
|
||||||
keycode 32 = d
|
|
||||||
keycode 33 = f
|
|
||||||
keycode 34 = g
|
|
||||||
keycode 35 = h
|
|
||||||
keycode 36 = j
|
|
||||||
keycode 37 = k
|
|
||||||
keycode 38 = l
|
|
||||||
keycode 39 = semicolon colon
|
|
||||||
keycode 40 = apostrophe quotedbl
|
|
||||||
keycode 41 = grave asciitilde
|
|
||||||
keycode 42 = Shift
|
|
||||||
keycode 43 = backslash bar
|
|
||||||
keycode 44 = z
|
|
||||||
keycode 45 = x
|
|
||||||
keycode 46 = c
|
|
||||||
keycode 47 = v
|
|
||||||
keycode 48 = b
|
|
||||||
keycode 49 = n
|
|
||||||
keycode 50 = m
|
|
||||||
keycode 51 = comma less
|
|
||||||
keycode 52 = period greater
|
|
||||||
keycode 53 = slash question
|
|
||||||
keycode 54 = Shift
|
|
||||||
keycode 57 = space
|
|
||||||
keycode 86 = less greater
|
|
||||||
keycode 111 = Delete
|
|
Binary file not shown.
|
@ -1,15 +0,0 @@
|
||||||
P2CLIENT_PKGDIR = $(TARGET)/p2client
|
|
||||||
|
|
||||||
p2client-source:
|
|
||||||
p2client-build:
|
|
||||||
p2client-install:
|
|
||||||
mkdir -p $(P2CLIENT_PKGDIR)
|
|
||||||
|
|
||||||
$(call COPYTREE, packages/p2client/service, $(P2CLIENT_PKGDIR)/service)
|
|
||||||
loadkeys -b packages/p2client/dumbterm.map > $(P2CLIENT_PKGDIR)/dumbterm.kmap
|
|
||||||
cp packages/p2client/lite-16.fnt $(P2CLIENT_PKGDIR)
|
|
||||||
|
|
||||||
p2client-clean:
|
|
||||||
rm -rf $(P2CLIENT_PKGDIR)
|
|
||||||
|
|
||||||
PACKAGES += p2client
|
|
|
@ -1,3 +0,0 @@
|
||||||
#! /bin/sh
|
|
||||||
|
|
||||||
exec svlogd -tt $PWD
|
|
|
@ -1,8 +0,0 @@
|
||||||
#! /bin/sh
|
|
||||||
|
|
||||||
exec 2>&1
|
|
||||||
|
|
||||||
ip link set dev eth0 up
|
|
||||||
|
|
||||||
ip addr add dev eth0 10.0.0.110/24
|
|
||||||
exec sleep 8d
|
|
|
@ -1,3 +0,0 @@
|
||||||
#! /bin/sh
|
|
||||||
|
|
||||||
exec svlogd -tt $PWD
|
|
|
@ -1,26 +0,0 @@
|
||||||
#! /bin/sh
|
|
||||||
|
|
||||||
# Try hard to look like a serial terminal
|
|
||||||
reset
|
|
||||||
|
|
||||||
# Simulate a green-phosphor CRT
|
|
||||||
printf '\033]P0111122\033]P788ff00\033]Pfff8800'
|
|
||||||
|
|
||||||
# Print some bullshit to confuse people
|
|
||||||
printf 'S0:1200N81 '
|
|
||||||
|
|
||||||
# Some diagnostic codes
|
|
||||||
printf '['
|
|
||||||
|
|
||||||
ip addr list dev eth0 | awk '
|
|
||||||
(/inet /) { printf("A"); }
|
|
||||||
(/NO-CARRIER/) { printf("l"); }
|
|
||||||
(/state UP/) { printf("C"); }
|
|
||||||
'
|
|
||||||
|
|
||||||
printf ']\n'
|
|
||||||
|
|
||||||
# Pretend to run initialization routines
|
|
||||||
sleep 3
|
|
||||||
|
|
||||||
exec nc 10.0.0.2 5555 2>/dev/null
|
|
|
@ -1,36 +0,0 @@
|
||||||
#! /bin/sh
|
|
||||||
|
|
||||||
exec 2>&1
|
|
||||||
|
|
||||||
# Turn off conflicting getty
|
|
||||||
sv d tty1
|
|
||||||
|
|
||||||
if ! sv s tty1 | grep down; then
|
|
||||||
exit
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Cool font
|
|
||||||
setfont -C /dev/tty1 $CTF_BASE/packages/p2client/lite-16.fnt
|
|
||||||
|
|
||||||
|
|
||||||
if ! grep -q debug /proc/cmdline; then
|
|
||||||
# Don't let C-A-F2 switch away
|
|
||||||
sv d tty2 tty3 tty4
|
|
||||||
deallocvt
|
|
||||||
|
|
||||||
# Disable magic sysrq key
|
|
||||||
echo 0 > /proc/sys/kernel/sysrq
|
|
||||||
|
|
||||||
# Turn off screen blanking
|
|
||||||
setterm -blank 0 -powersave off -powerdown 0
|
|
||||||
|
|
||||||
# Make this like a VT52; including disabling ctrl-alt-del
|
|
||||||
loadkmap < $CTF_BASE/packages/p2client/dumbterm.kmap
|
|
||||||
|
|
||||||
# Disable console logging
|
|
||||||
echo 1 4 1 4 > /proc/sys/kernel/printk
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Run the console!
|
|
||||||
exec getty -n -l ./p2connect 38400 tty1
|
|
||||||
|
|
Loading…
Reference in New Issue