diff options
author | Harm Weites <harm@weites.com> | 2014-08-09 08:12:35 +0000 |
---|---|---|
committer | Harm Weites <harm@weites.com> | 2014-08-09 08:12:35 +0000 |
commit | 9e10017821eb6f197aebd89545444cdb7bea5056 (patch) | |
tree | 5026fb159c35c2884f7d183d3023654a46dac700 /setup.py | |
parent | ca1e2e17e5ae4af811826518f46631c9962f8292 (diff) | |
download | vyos-cloud-init-9e10017821eb6f197aebd89545444cdb7bea5056.tar.gz vyos-cloud-init-9e10017821eb6f197aebd89545444cdb7bea5056.zip |
fix: To install the new freebsd sysvinit scripts, accept a new
sysvinit_freebsd argument. Specifying sysvinit will install the RH
scripts, which is wrong.
Diffstat (limited to 'setup.py')
-rwxr-xr-x | setup.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -63,12 +63,14 @@ def systemd_unitdir(): INITSYS_FILES = { 'sysvinit': [f for f in glob('sysvinit/redhat/*') if is_f(f)], + 'sysvinit_freebsd': [f for f in glob('sysvinit/freebsd/*') if is_f(f)], 'sysvinit_deb': [f for f in glob('sysvinit/debian/*') 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/rc.d/init.d', + 'sysvinit_freebsd': '/usr/local/etc/rc.d', 'sysvinit_deb': '/etc/init.d', 'systemd': systemd_unitdir(), 'upstart': '/etc/init/', |