kexec-tools/kdump_initscripts/kdumpinit.rootfs
2009-05-20 16:42:31 +00:00

34 lines
732 B
Bash

#!/bin/sh
###################################################
# Start by setting up the console to work as a user
# expects
###################################################
exec >/dev/console 2>&1
export TERM=linux
export PS1='initramfs-test:\w\$ '
stty sane
##################################################
# Start udev up
##################################################
start_udev
##################################################
# Load all the modules based on
# /etc/module_load_list
##################################################
load_modules
##################################################
# Reboot the system to get back to production
##################################################
reboot -f