daemon: Move 'exists', 'is-file' and 'is-dir' to separate file.
[libguestfs.git] / appliance / init
index 90da1cb..cda6453 100755 (executable)
@@ -71,7 +71,7 @@ for f in /sys/block/[hsv]d*/queue/scheduler; do echo noop > $f; done
 
 # These are useful when debugging.
 if grep -sq guestfs_verbose=1 /proc/cmdline; then
-    ls -l /dev
+    ls -lR /dev
     cat /proc/mounts
     lvm pvs
     lvm vgs
@@ -110,8 +110,8 @@ else
   bash -i
   echo
   echo "virt-rescue: Syncing the disk now before exiting ..."
-  echo "(Don't worry if you see a 'Kernel panic' message below)"
   echo
 fi
 
 sync
+/sbin/reboot -f