Use netconsoleTee instead of netconsoleServer
This commit is contained in:
parent
bc480f82ca
commit
a0a68d9a7a
|
@ -52,6 +52,6 @@ sh -c 'cd ../allwpilib/cameraserver/src/main/native/include && tar czf - cameras
|
||||||
|
|
||||||
cp \
|
cp \
|
||||||
../allwpilib/cameraserver/build/exe/multiCameraServer/raspbian/multiCameraServer \
|
../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 \
|
../allwpilib/wpiutil/build/exe/rpiConfigServer/raspbian/rpiConfigServer \
|
||||||
stage2/01-sys-tweaks/extfiles/
|
stage2/01-sys-tweaks/extfiles/
|
||||||
|
|
|
@ -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/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"
|
install -v -d "${ROOTFS_DIR}/service/camera"
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
sleep 1
|
sleep 1
|
||||||
cd /home/pi
|
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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user