Skip to content

Commit

Permalink
install.sh: we need to add /sbin to PATH to use ifconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
k-okada committed Oct 17, 2023
1 parent 518dd0d commit 8254bd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jsk_unitree_robot/cross/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ function copy_data () {

# enable Internet with USB LTE module
if [[ "${hostname}" == "192.168.123.161" ]]; then
sshpass -p $PASS ssh -t ${user}@${hostname} "source /opt/jsk/User/user_setup.bash; sudo cp -f \$(rospack find jsk_unitree_startup)/config/dhcpcd.conf /etc/dhcpcd.conf"
sshpass -p $PASS ssh -t ${user}@${hostname} "export PATH=\$PATH:/sbin; source /opt/jsk/User/user_setup.bash; sudo cp -f \$(rospack find jsk_unitree_startup)/config/dhcpcd.conf /etc/dhcpcd.conf"
sshpass -p $PASS ssh -t ${user}@${hostname} "sudo systemctl restart dhcpcd"
fi
set +x
Expand Down

0 comments on commit 8254bd3

Please sign in to comment.