]> git.proxmox.com Git - mirror_ifupdown2.git/commit
Fix incorrect install location of networking default file
authorDave Olson <olson@cumulusnetworks.com>
Fri, 19 Feb 2016 21:14:55 +0000 (13:14 -0800)
committerDave Olson <olson@cumulusnetworks.com>
Fri, 19 Feb 2016 22:06:58 +0000 (14:06 -0800)
commit8f79f54df89d0ae72ab9d206728d764423515a3d
tree2293a08261397e2bfb4f36db146cb6bf47561078
parent5e01fb8056fe66723a96fbab3bb25ddc057fe857
Fix incorrect install location of networking default file

Ticket: none
Reviewed By: roopa,satish
Testing Done: built, installed, verified correct location

The install file resulted in creating /etc/default/networking/ as a
directory and installing the networking.default file in it.  Rename
networking.default to networking, and change the install file.
Normally dh_installinit handles all this, but since the package is
ifupdown2, and the file is networking, that doesn't happen.

Also, because we had created a directory with the name of what we want
to install as a file, we need to remove it if it exists.  This addition
of a preinst file should not go upstream, and should be removed in a few
weeks when everybody has re-installed enough.
debian/ifupdown2.install
debian/ifupdown2.preinst [new file with mode: 0644]
debian/networking [new file with mode: 0644]
debian/networking.default [deleted file]