rules/memtest86+/fs: Renamed script.
This commit is contained in:
14
rules/memtest86+/fs/usr/bin/start-memtest
Normal file
14
rules/memtest86+/fs/usr/bin/start-memtest
Normal file
@@ -0,0 +1,14 @@
|
||||
#! /bin/sh
|
||||
|
||||
echo "Starting memtest in 10 seconds (requires reboot), Ctrl-C to cancel..."
|
||||
for r in 0 1 2 3 4 5 6 7 8 9; do
|
||||
printf "."
|
||||
sleep 1
|
||||
done
|
||||
|
||||
mount -o remount,rw /
|
||||
extlinux -o "memtest" /boot/extlinux/
|
||||
mount -o remount,ro /
|
||||
|
||||
echo "* Rebooting now"
|
||||
reboot
|
Reference in New Issue
Block a user