summaryrefslogtreecommitdiff
path: root/configs/syslinux-iso/overlay
diff options
context:
space:
mode:
authorGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2009-12-02 02:01:14 -0300
committerGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2009-12-02 02:03:10 -0300
commit4d1fb6a58deda81dd64dbbe377531ab82ea54e5e (patch)
treedf64bf0d7bf35c915b12b4b0580e30af1bdbb2fc /configs/syslinux-iso/overlay
parent13a2ebbd009ff69e95fc8641c0dfc081b28273d0 (diff)
downloadarchiso32-4d1fb6a58deda81dd64dbbe377531ab82ea54e5e.tar.xz
Make a /home/arch (arch:users 0755) in archiso startup script
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
Diffstat (limited to 'configs/syslinux-iso/overlay')
-rwxr-xr-xconfigs/syslinux-iso/overlay/etc/rc.d/archiso3
1 files changed, 3 insertions, 0 deletions
diff --git a/configs/syslinux-iso/overlay/etc/rc.d/archiso b/configs/syslinux-iso/overlay/etc/rc.d/archiso
index 8d0e633..618a79e 100755
--- a/configs/syslinux-iso/overlay/etc/rc.d/archiso
+++ b/configs/syslinux-iso/overlay/etc/rc.d/archiso
@@ -67,6 +67,9 @@ do_makeuser ()
stat_busy "Making the default user arch"
addgroups="audio,disk,optical,wheel"
useradd -p "" -g users -G $addgroups arch
+ mkdir /home/arch
+ chmod 700 /home/arch
+ chown arch:users /home/arch
stat_done
}