From 5525cc9d59df5b732c33650713b25e0d2502aa70 Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Fri, 7 Apr 2017 15:46:05 +0200 Subject: [PATCH 158/325] release/Makefile: Try to debug /etc/rc.local mode issue and fix it Obtained from: ElectroBSD --- release/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/release/Makefile b/release/Makefile index 160708bef2cf..89dcccf86285 100644 --- a/release/Makefile +++ b/release/Makefile @@ -213,6 +213,10 @@ disc1: packagesystem echo vfs.mountroot.timeout=\"10\" >> ${.TARGET}/boot/loader.conf echo kernels_autodetect=\"NO\" >> ${.TARGET}/boot/loader.conf cp ${.CURDIR}/rc.local ${.TARGET}/etc + umask + ls -l ${.TARGET}/etc/rc.local + chmod 550 ${.TARGET}/etc/rc.local + ls -l ${.TARGET}/etc/rc.local touch ${.TARGET} bootonly: packagesystem -- 2.32.0