5 lines
139 B
Bash
Executable File
5 lines
139 B
Bash
Executable File
#!/bin/sh
|
|
|
|
URL=$(ip route get 1 | awk '{print $NF;exit}')
|
|
sed -i "s|\(^\s\+proxyName\).*|\1=\"${URL}\"|g" /srv/opendatakit/conf/server.xml
|