From 4a6fdde3913deab3ac31b5d4a8f71b66e2b85718 Mon Sep 17 00:00:00 2001 From: Dirk von Suchodoletz Date: Wed, 29 Mar 2006 09:51:27 +0000 Subject: forgot to copy the new location of machine.setup and corresponding stuff ... git-svn-id: http://svn.openslx.org/svn/openslx/ld4@130 95ad53e4-c205-0410-b2fa-d234c58c8868 --- initrd/initrd-stuff/etc/functions | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'initrd/initrd-stuff/etc/functions') diff --git a/initrd/initrd-stuff/etc/functions b/initrd/initrd-stuff/etc/functions index 0dc48254..f59ef9c7 100644 --- a/initrd/initrd-stuff/etc/functions +++ b/initrd/initrd-stuff/etc/functions @@ -390,7 +390,8 @@ sed -n -e '/nobody/p' /mnt/etc/passwd >> /tmp/newpasswd cp /tmp/newpasswd /mnt/etc/passwd # create the shadow from passwd file echo -e "root:"$root_pw":12958:0:10000::::" > /mnt/etc/shadow -sed 's/:.*/:!:13078:0:99999:7:::/;/^root.*/d' /tmp/newpasswd >> /mnt/etc/shadow +sed 's/:.*/:!:13078:0:99999:7:::/;/^root.*/d' /tmp/newpasswd \ + >> /mnt/etc/shadow } ####################################################################### -- cgit v1.2.3-55-g7522