mkinitrd(8): Miscellaneous permission related clean up.
authorSascha Wildner <saw@online.de>
Thu, 1 Jul 2010 15:24:48 +0000 (17:24 +0200)
committerSascha Wildner <saw@online.de>
Thu, 1 Jul 2010 15:24:48 +0000 (17:24 +0200)
Also, rename mkinitrd -> mkinitrd.sh in src/ so it is easy to recognize
as a script. Our build infrastructure will handle installing it without
the suffix.

sbin/mkinitrd/Makefile
sbin/mkinitrd/mkinitrd.sh [moved from sbin/mkinitrd/mkinitrd with 100% similarity, mode: 0644]
share/initrd/Makefile
share/initrd/rc [changed mode: 0755->0644]

index 26f383b..63a3e51 100644 (file)
@@ -1,6 +1,6 @@
 SUBDIR=mini_init
 
-SCRIPTS=mkinitrd
+SCRIPTS=mkinitrd.sh
 MAN=mkinitrd.8
 
 .include <bsd.prog.mk>
old mode 100755 (executable)
new mode 100644 (file)
similarity index 100%
rename from sbin/mkinitrd/mkinitrd
rename to sbin/mkinitrd/mkinitrd.sh
index 6ed633b..3137e06 100644 (file)
@@ -11,6 +11,7 @@ FILES=                ${ETC_FILES}
 
 .for file in ${ETC_FILES}
 FILESDIR_${file}=${SHAREDIR}/initrd/etc
+FILESMODE_${file}=555
 .endfor
 
 .include <bsd.prog.mk>
old mode 100755 (executable)
new mode 100644 (file)