nutools/lib/init.d/install-openvz-fix-etchosts

11 lines
310 B
Plaintext
Raw Normal View History

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
. "$(dirname "$0")/../../ulib/ulib" && urequire DEFAULTS || exit 1
check_sysinfos -s linux -d debian || exit 0
run_as_root "$@"
cp "$scriptdir/openvz-fix-etchosts" /etc/init.d
update-rc.d openvz-fix-etchosts defaults 80 20