mirror of
https://github.com/CopterExpress/clever-show.git
synced 2026-05-30 16:59:32 +00:00
builder: Modify wi-fi name during first start
This commit is contained in:
@@ -23,7 +23,7 @@ echo_stamp() {
|
||||
}
|
||||
|
||||
# rename wifi ssid
|
||||
sed -i "s/NEW_SSID='CLEVER/NEW_SSID='CLEVERSHOW/" /root/init_rpi.sh
|
||||
sed -i "s/NEW_SSID='clover/NEW_SSID='clever-show/" /root/init_rpi.sh
|
||||
|
||||
# add sudoers variables to make sudo works with ros (for led strip)
|
||||
grep -qxF 'Defaults env_keep += "ROS_LOG_DIR"' /etc/sudoers || cat << EOT >> /etc/sudoers
|
||||
@@ -39,4 +39,3 @@ Defaults env_keep += "ROS_LOG_DIR"
|
||||
EOT
|
||||
|
||||
echo_stamp "Image was configured!" "SUCCESS"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user