diff options
Diffstat (limited to 'usr/galaxys2_initramfs_files/init')
-rwxr-xr-x | usr/galaxys2_initramfs_files/init | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/usr/galaxys2_initramfs_files/init b/usr/galaxys2_initramfs_files/init deleted file mode 100755 index 32eacfb..0000000 --- a/usr/galaxys2_initramfs_files/init +++ /dev/null @@ -1,26 +0,0 @@ -#!/stage1/busybox sh -_PATH="$PATH" -export PATH=/stage1 - -busybox cd / -busybox date >>boot.txt -exec >>boot.txt 2>&1 -busybox rm init -busybox mount -t proc proc /proc -busybox mount -t sysfs sysfs /sys - -load_image=/stage1/boot.cpio - -if busybox grep -q bootmode=2 /proc/cmdline ; then - # recovery boot - load_image=/stage1/recovery.cpio -fi - -busybox cpio -i < ${load_image} - -busybox umount /sys -busybox umount /proc -busybox date >>boot.txt -busybox rm -fr /stage1 /dev/* -export PATH="${_PATH}" -exec /init |