diff options
Diffstat (limited to 'meta-mellanox/meta-msn/recipes-phosphor/initfs/files/failsafe-boot.sh')
-rw-r--r-- | meta-mellanox/meta-msn/recipes-phosphor/initfs/files/failsafe-boot.sh | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/meta-mellanox/meta-msn/recipes-phosphor/initfs/files/failsafe-boot.sh b/meta-mellanox/meta-msn/recipes-phosphor/initfs/files/failsafe-boot.sh deleted file mode 100644 index ea1bd0711..000000000 --- a/meta-mellanox/meta-msn/recipes-phosphor/initfs/files/failsafe-boot.sh +++ /dev/null @@ -1,30 +0,0 @@ -#!/bin/sh - -echo "---------------- -System entered recovery mode. Running from backup flash!!! -help for get ip: -ifconfig eth0 $IP netmask $NETMASK up; -route add default gw $GATEWAY eth0 -Or type udhcpc to get ip over dhcp. -Please scp image file to /tmp folder and re-burn main flash with: -/run/initramfs/recovery /tmp/<bmc-image-file>. -----------------"; - -mkdir /run/lock; - -mkdir /dev/mtd; - -ln -s /run/mtd\:u-boot-env /dev/mtd/u-boot-env; - -/usr/bin/mlx-hw-events.sh add reset /sys/devices/platform/ahb/ahb:apb/ahb:apb:i2c@1e78a000/1e78a140.i2c-bus/i2c-4/4-0071/mlxreg-core.1137/hwmon/hwmon*; - -mount /dev/mtdblock5 /run/initramfs/rw -t jffs2 -o remount,ro; -mount tmpfs tmp -t tmpfs -o mode=755,nodev; - -export PS1="(recovery)\u@BMC:\w\$" - -while true; -do - /run/initramfs/ro/sbin/sulogin; -done - |