This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
linux:raspberry_pi_read-only_root [2017/11/29 13:07] kacper [Read-only root for Raspberry Pi] |
linux:raspberry_pi_read-only_root [2017/11/29 15:34] kacper [Helper scripts for rootfs] |
||
---|---|---|---|
Line 121: | Line 121: | ||
<code bash> | <code bash> | ||
- | cat > /bin/remounro << EOF | + | cat > /bin/remountro << EOF |
#!/bin/bash | #!/bin/bash | ||
Line 129: | Line 129: | ||
EOF | EOF | ||
- | cat > /bin/remounrw << EOF | + | cat > /bin/remountrw << EOF |
#!/bin/bash | #!/bin/bash | ||
Line 145: | Line 145: | ||
EOF | EOF | ||
- | chmod +x /bin/remounro | + | chmod +x /bin/remountro |
- | chmod +x /bin/remounrw | + | chmod +x /bin/remountrw |
chmod +x /bin/syncroot | chmod +x /bin/syncroot | ||
</code> | </code> |