Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 394278 Details for
Bug 536988
sys-apps/busybox-1.23 no longer installs many commands
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
initramfs_init_new.sh
initramfs_init_new.sh (text/plain), 767 bytes, created by
Mark Knecht
on 2015-01-18 16:01:45 UTC
(
hide
)
Description:
initramfs_init_new.sh
Filename:
MIME Type:
Creator:
Mark Knecht
Created:
2015-01-18 16:01:45 UTC
Size:
767 bytes
patch
obsolete
>#!/bin/busybox sh > >rescue_shell() { > echo "-----" > echo "!!!!!" > echo "Something went wrong." > echo "Dropping into busybox" > echo "!!!!!" > echo "-----" > busybox --install -s > exec /bin/sh >} > > ># Mount the /proc and /sys filesystems. >mount -t proc none /proc >mount -t sysfs none /sys >mount -t devtmpfs none /dev > ># Do your stuff here. >echo " " >echo "This init script assembles the RAID6 root as /dev/md3" >echo "mounts it as rootfs and, if there are no problems," >echo "boots it up, else calls rescue_shell/busybox" >echo " " > >mdadm --assemble /dev/md3 > ># Mount the root filesystem. >mount -o ro /dev/md3 /realroot || rescue_shell > ># Clean up. >umount /dev >umount /proc >umount /sys > ># Boot the real thing. >exec switch_root /realroot /sbin/init
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 536988
:
394276
|
394278
|
394280
|
394282
|
394284
|
394554