mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 03:33:25 +02:00
Remove unmounting errors after installation.
This commit is contained in:
@@ -8,13 +8,9 @@ sleep 3
|
||||
echo "Sending all processes the KILL signal..."
|
||||
/sbin/killall5 -9
|
||||
sleep 3
|
||||
echo "Unmounting filesystems"
|
||||
/bin/umount /tmp
|
||||
/bin/umount /sys
|
||||
/bin/umount /dev/pts
|
||||
/bin/umount /dev
|
||||
/bin/umount /root
|
||||
/bin/umount /proc
|
||||
echo "Unmounting root"
|
||||
echo "Unmounting filesystems..."
|
||||
/bin/umount -a > /dev/null 2>&1
|
||||
echo "Unmounting root..."
|
||||
/bin/mount -n -o remount,ro /
|
||||
echo "Rebooting..."
|
||||
/sbin/reboot -f
|
||||
|
||||
Reference in New Issue
Block a user