summary refs log tree commit diff
path: root/pkgs/tools/networking/wicd/mkdir-networks.patch
blob: 01563fd55dab053fba00edf21fae3f932c9a0943 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
wicd normally makes the NETWORKS directory and install the dhclient.conf.template.default at install time, 
but we cannot do that, so we make it at runtime instead.

--- wicd-1.7.0/in/scripts=wicd.in       2010-01-14 23:49:11.000000000 -0500
+++ wicd-1.7.0/in/scripts=wicd.in       2010-11-16 22:35:50.272555487 -0500
@@ -1,3 +1,6 @@
 #!/bin/bash
 
+mkdir -p %NETWORKS%
+ln -sf @TEMPLATE-DEFAULT@ %ETC%dhclient.conf.template.default
+
 exec %PYTHON% -O %SHARE%daemon/wicd-daemon.py $@