Use netconsoleTee instead of netconsoleServer

This commit is contained in:
Peter Johnson 2018-11-30 20:03:52 -08:00
parent bc480f82ca
commit a0a68d9a7a
No known key found for this signature in database
GPG Key ID: D39DD4DA7D41E329
3 changed files with 3 additions and 3 deletions

View File

@ -52,6 +52,6 @@ sh -c 'cd ../allwpilib/cameraserver/src/main/native/include && tar czf - cameras
cp \
../allwpilib/cameraserver/build/exe/multiCameraServer/raspbian/multiCameraServer \
../allwpilib/wpiutil/build/exe/netconsoleServer/raspbian/netconsoleServer \
../allwpilib/wpiutil/build/exe/netconsoleTee/raspbian/netconsoleTee \
../allwpilib/wpiutil/build/exe/rpiConfigServer/raspbian/rpiConfigServer \
stage2/01-sys-tweaks/extfiles/

View File

@ -113,7 +113,7 @@ install -m 755 files/configServer_run "${ROOTFS_DIR}/service/configServer/run"
install -m 755 extfiles/rpiConfigServer "${ROOTFS_DIR}/usr/local/sbin/configServer"
install -m 755 extfiles/netconsoleServer "${ROOTFS_DIR}/usr/local/bin/"
install -m 755 extfiles/netconsoleTee "${ROOTFS_DIR}/usr/local/bin/"
install -v -d "${ROOTFS_DIR}/service/camera"

View File

@ -1,4 +1,4 @@
#!/bin/sh
sleep 1
cd /home/pi
exec pgrphack /usr/local/bin/setuidgids pi /usr/local/bin/netconsoleServer -u ./runCamera
exec pgrphack /usr/local/bin/setuidgids pi ./runCamera 2>&1 | /usr/local/bin/netconsoleTee -u