Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #! /bin/busybox ash
- /bin/busybox --install -s
- rescue_shell() {
- echo 'Something went wrong. Running a shell.'
- echo 'See README for helpful commands.'
- exec /bin/ash
- }
- mount -t proc none /proc
- mount -t sysfs none /sys
- mount -t devtmpfs none /dev
- ### TEMPORARY TEST
- echo 'In the initramfs!'
- rescue_shell
- ### TEMPORARY TEST
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement