diff options
Diffstat (limited to 'initramfs-tools/scripts')
-rw-r--r-- | initramfs-tools/scripts/samizdat | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/initramfs-tools/scripts/samizdat b/initramfs-tools/scripts/samizdat index 2bc16f8..374d95d 100644 --- a/initramfs-tools/scripts/samizdat +++ b/initramfs-tools/scripts/samizdat | |||
@@ -9,8 +9,15 @@ mountroot() | |||
9 | bootmenu | 9 | bootmenu |
10 | bootwait root-mounted | 10 | bootwait root-mounted |
11 | chvt 1 | 11 | chvt 1 |
12 | patchroot | ||
13 | } | ||
12 | 14 | ||
15 | patchroot() | ||
16 | { | ||
17 | echo -n 'Patching root... ' >&2 | ||
13 | sed -i -e 's/^root:x:/root::/' /root/etc/passwd | 18 | sed -i -e 's/^root:x:/root::/' /root/etc/passwd |
19 | cp /patchroot/* /root/root/ | ||
20 | echo 'done.' >&2 | ||
14 | } | 21 | } |
15 | 22 | ||
16 | samizdat_install_udev_rules() | 23 | samizdat_install_udev_rules() |