git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
daemon: Move 'exists', 'is-file' and 'is-dir' to separate file.
[libguestfs.git]
/
appliance
/
init
diff --git
a/appliance/init
b/appliance/init
index
90da1cb
..
cda6453
100755
(executable)
--- a/
appliance/init
+++ b/
appliance/init
@@
-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
# These are useful when debugging.
if grep -sq guestfs_verbose=1 /proc/cmdline; then
- ls -l /dev
+ ls -l
R
/dev
cat /proc/mounts
lvm pvs
lvm vgs
cat /proc/mounts
lvm pvs
lvm vgs
@@
-110,8
+110,8
@@
else
bash -i
echo
echo "virt-rescue: Syncing the disk now before exiting ..."
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
echo
fi
sync
+/sbin/reboot -f