10 lines
182 B
Bash
Executable File
10 lines
182 B
Bash
Executable File
#!/bin/bash
|
|
|
|
groupadd -f -g $GID ros
|
|
useradd -u $UID -g $GID -m ros
|
|
usermod -aG video ros
|
|
usermod -aG render ros
|
|
chown -R $UID:$GID /home/ros
|
|
|
|
exec su ros -c "/ros_entrypoint.sh $@"
|