diff --git a/packages/p2client/dumbterm.map b/packages/p2client/dumbterm.map deleted file mode 100644 index 3886b68..0000000 --- a/packages/p2client/dumbterm.map +++ /dev/null @@ -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 diff --git a/packages/p2client/lite-16.fnt b/packages/p2client/lite-16.fnt deleted file mode 100644 index 3f99d72..0000000 Binary files a/packages/p2client/lite-16.fnt and /dev/null differ diff --git a/packages/p2client/p2client.mk b/packages/p2client/p2client.mk deleted file mode 100644 index a750ffa..0000000 --- a/packages/p2client/p2client.mk +++ /dev/null @@ -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 \ No newline at end of file diff --git a/packages/p2client/service/eth0/log/run b/packages/p2client/service/eth0/log/run deleted file mode 100755 index 1e7bd9d..0000000 --- a/packages/p2client/service/eth0/log/run +++ /dev/null @@ -1,3 +0,0 @@ -#! /bin/sh - -exec svlogd -tt $PWD diff --git a/packages/p2client/service/eth0/run b/packages/p2client/service/eth0/run deleted file mode 100755 index fe2a337..0000000 --- a/packages/p2client/service/eth0/run +++ /dev/null @@ -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 diff --git a/packages/p2client/service/p2client/log/run b/packages/p2client/service/p2client/log/run deleted file mode 100755 index 1e7bd9d..0000000 --- a/packages/p2client/service/p2client/log/run +++ /dev/null @@ -1,3 +0,0 @@ -#! /bin/sh - -exec svlogd -tt $PWD diff --git a/packages/p2client/service/p2client/p2connect b/packages/p2client/service/p2client/p2connect deleted file mode 100755 index 1a4321c..0000000 --- a/packages/p2client/service/p2client/p2connect +++ /dev/null @@ -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 diff --git a/packages/p2client/service/p2client/run b/packages/p2client/service/p2client/run deleted file mode 100755 index c93a578..0000000 --- a/packages/p2client/service/p2client/run +++ /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 -