summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorVlastimil Holer <vlastimil.holer@gmail.com>2013-02-21 15:07:54 +0100
committerVlastimil Holer <vlastimil.holer@gmail.com>2013-02-21 15:07:54 +0100
commit3f61f2ee54ca1e550c733bb5d9b27f6250c1e51e (patch)
tree6873546f7fea802e84f7c33099a9298a4160b5ef /setup.py
parent27ce4ea4f2bfe1e33454b8cec63276b044e29d12 (diff)
downloadvyos-cloud-init-3f61f2ee54ca1e550c733bb5d9b27f6250c1e51e.tar.gz
vyos-cloud-init-3f61f2ee54ca1e550c733bb5d9b27f6250c1e51e.zip
New option INIT_SYSTEM=sysvinit_deb for Debian /etc/ directories
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index 38c8cd93..b30cd53b 100755
--- a/setup.py
+++ b/setup.py
@@ -38,11 +38,13 @@ def is_f(p):
INITSYS_FILES = {
'sysvinit': [f for f in glob('sysvinit/*') if is_f(f)],
+ 'sysvinit_deb': [f for f in glob('sysvinit/*') if is_f(f)],
'systemd': [f for f in glob('systemd/*') if is_f(f)],
'upstart': [f for f in glob('upstart/*') if is_f(f)],
}
INITSYS_ROOTS = {
- 'sysvinit': '/etc/init.d',
+ 'sysvinit': '/etc/rc.d/init.d',
+ 'sysvinit_deb': '/etc/init.d',
'systemd': '/etc/systemd/system/',
'upstart': '/etc/init/',
}