Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- for x in \
- /etc/hosts /etc/hostname /etc/samba/smb.conf \ /home/pi/.config/autostart/chromium.desktop
- do
- sed s/xx/$1/g < $x > /tmp/temp.txt
- cat /tmp/temp.txt > $x
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement