Posts by Osmar Rafael Ratai • 1 point
3 posts
-
-1
votes1
answer74
viewsQ: Redirect google Chrome to localhost when offline
I have a system on top of a Raspberry that needs to work online. A Raspberry that opens directly a page on Chromium. What I’m trying to do is this scprit I did. #!/bin/bash wget -q --spider…
-
0
votes2
answers60
viewsA: Variable via POST to sed
Doing this way I also got results. After testing the above code, I searched a little more and found this solution. $HOSTNAME=escapeshellarg("s/nome/$SEU_HOSTNAME/"); shell_exec (" cd /etc/ sudo sed…
-
0
votes2
answers60
viewsQ: Variable via POST to sed
I’m with a Raspbian running on a Raspberry Pi3, I’m making a system on top of it that needs the person to choose the hostname typing it into a field. And to change the hostname from rasp I need to…