Update of /cvsroot/devil-linux/build/config/etc/initrd
In directory sc8-pr-cvs12.sourceforge.net:/tmp/cvs-serv32276/config/etc/initrd
Modified Files:
Tag: rel-1-2-patches
mount_cdrom
Log Message:
- updated busybox to v1.2.1
- if the boot device is not a CD, the mount point of it is moved to
/var/adm/boot , because a mount of the device is not possible anymore.
execute: mount -o remount,rw /var/adm/boot
in order to make changes
Index: mount_cdrom
===================================================================
RCS file: /cvsroot/devil-linux/build/config/etc/initrd/mount_cdrom,v
retrieving revision 1.25.2.20
retrieving revision 1.25.2.21
diff -u -d -r1.25.2.20 -r1.25.2.21
--- mount_cdrom 9 Oct 2006 14:20:01 -0000 1.25.2.20
+++ mount_cdrom 23 Oct 2006 21:27:42 -0000 1.25.2.21
@@ -329,6 +329,9 @@
cp -fp /cdrom/boot/* /cd/boot/ 2> /dev/null
cp -fp /cdrom/DEVIL-LINUX /cd/
+ # make sure we set the file permission secure
+ chown -R 0.0 /cd/*
+ chmod -R u+rw,g-rwx,o-rwx /cd/*
sync
umount /cdrom &> /dev/null
@@ -341,7 +344,7 @@
#change to new root
pivot_root . initrd
#$RED
- echo "Rebooting..."
+ #echo "Rebooting..."
#$NORMAL
exec /usr/sbin/chroot . /sbin/reboot -f
else
|