summaryrefslogtreecommitdiff
path: root/configs/syslinux-iso
diff options
context:
space:
mode:
Diffstat (limited to 'configs/syslinux-iso')
-rwxr-xr-xconfigs/syslinux-iso/overlay/etc/rc.d/archiso9
1 files changed, 9 insertions, 0 deletions
diff --git a/configs/syslinux-iso/overlay/etc/rc.d/archiso b/configs/syslinux-iso/overlay/etc/rc.d/archiso
index 618a79e..c30b435 100755
--- a/configs/syslinux-iso/overlay/etc/rc.d/archiso
+++ b/configs/syslinux-iso/overlay/etc/rc.d/archiso
@@ -81,10 +81,19 @@ do_locale_gen ()
stat_done
}
+# GIT does not manage perms others thans 755 and 644, so fix here.
+do_fix_perms ()
+{
+ stat_busy "Fixing file permissions..."
+ chmod 440 /etc/sudoers
+ stat_done
+}
+
case "$1" in
start)
do_locale_gen
do_makeuser
+ do_fix_perms
;;
esac
exit 0