From 82204cad031de3421081f2d074449edce1c5df25 Mon Sep 17 00:00:00 2001 From: Kanae Kochigami Date: Thu, 22 Dec 2022 14:02:20 +0900 Subject: [PATCH] [jsk_naoqi_robot/cross] add attach.sh to attach session which you detached once --- jsk_naoqi_robot/cross/build_user.sh | 1 + jsk_naoqi_robot/cross/startup_scripts/attach.sh | 2 ++ 2 files changed, 3 insertions(+) create mode 100755 jsk_naoqi_robot/cross/startup_scripts/attach.sh diff --git a/jsk_naoqi_robot/cross/build_user.sh b/jsk_naoqi_robot/cross/build_user.sh index 342a7311aa..3a4cac1afd 100755 --- a/jsk_naoqi_robot/cross/build_user.sh +++ b/jsk_naoqi_robot/cross/build_user.sh @@ -88,6 +88,7 @@ docker run -it --rm \ cp -a ${PWD}/startup_scripts/user_setup.bash ${SOURCE_ROOT}/ cp -a ${PWD}/startup_scripts/start.sh ${SOURCE_ROOT}/ cp -a ${PWD}/startup_scripts/screenrc ${SOURCE_ROOT}/ +cp -a ${PWD}/startup_scripts/attach.sh ${SOURCE_ROOT}/ echo " diff --git a/jsk_naoqi_robot/cross/startup_scripts/attach.sh b/jsk_naoqi_robot/cross/startup_scripts/attach.sh new file mode 100755 index 0000000000..ed4ee21368 --- /dev/null +++ b/jsk_naoqi_robot/cross/startup_scripts/attach.sh @@ -0,0 +1,2 @@ +source User/user_setup.bash +screen -c User/screenrc -r