2013-08-27 15:14:44 +04:00
|
|
|
#!/bin/bash
|
|
|
|
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
2016-12-21 05:08:45 +04:00
|
|
|
source "$(dirname "$0")/../../lib/ulib/ulib" || exit 1
|
2014-07-07 22:06:38 +04:00
|
|
|
urequire DEFAULTS
|
2013-08-27 15:14:44 +04:00
|
|
|
|
|
|
|
check_sysinfos -s linux -d debian || exit 0
|
|
|
|
run_as_root "$@"
|
|
|
|
|
|
|
|
cp "$scriptdir/kvm-stop-all" /etc/init.d
|
|
|
|
update-rc.d kvm-stop-all defaults 80 20
|