tReplace occurence of /mnt by $ROOT - monochromatic - monochromatic blog: http://blog.z3bra.org
HTML git clone git://z3bra.org/monochromatic
DIR Log
DIR Files
DIR Refs
---
DIR commit 3f60c0bd4ad4e39651db5f5f5f07fbf9424a6ab0
DIR parent 0fa264c3ba627377dd7331f4d7e0300e5187b7ba
HTML Author: z3bra <willyatmailoodotorg>
Date: Wed, 26 Apr 2017 19:47:13 +0200
Replace occurence of /mnt by $ROOT
Diffstat:
M 2015/08/install-alpine-at-onlinene⦠| 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/2015/08/install-alpine-at-onlinenet.txt b/2015/08/install-alpine-at-onlinenet.txt
t@@ -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