monochromatic

monochromatic blog: http://blog.z3bra.org
git clone git://z3bra.org/monochromatic
Log | Files | Refs

commit 3f60c0bd4ad4e39651db5f5f5f07fbf9424a6ab0
parent 0fa264c3ba627377dd7331f4d7e0300e5187b7ba
Author: z3bra <willyatmailoodotorg>
Date:   Wed, 26 Apr 2017 19:47:13 +0200

Replace occurence of /mnt by $ROOT

Diffstat:
2015/08/install-alpine-at-onlinenet.txt | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/2015/08/install-alpine-at-onlinenet.txt b/2015/08/install-alpine-at-onlinenet.txt @@ -98,7 +98,7 @@ box and run the following script as root: dd bs=440 conv=notrunc count=1 if=/usr/share/syslinux/gptmbr.bin of=$DEV CHROOT - printf 'root:%s\n' "${PASSWORD}" | chroot /mnt /usr/sbin/chpasswd + printf 'root:%s\n' "${PASSWORD}" | chroot $ROOT /usr/sbin/chpasswd umount $ROOT/proc umount $ROOT/dev