Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] 2016-01-08-some-dhcpcd-hooks-are-now-examples
Date: Mon, 11 Jan 2016 23:32:36
Message-Id: 56943B81.8040809@gmail.com
In Reply to: Re: [gentoo-user] 2016-01-08-some-dhcpcd-hooks-are-now-examples by Bill Kenworthy
1 Bill Kenworthy wrote:
2 > My take on Dales question - how do we tell the hooks are in use? -
3 > config file somewhere, utility we can run? - or should they be marked
4 > executable?
5 >
6 > It looks to me like various apps are installing to that directory as
7 > well and are in use ... maybe? I presume its only those 3 scripts that
8 > are affected but it would be nice to have enough to detail to know there
9 > is a problem or not that needs investigating.
10 >
11 >
12 > rattus ~ # ls -al /lib/dhcpcd/dhcpcd-hooks
13 > total 44
14 > drwxr-xr-x 1 root root 224 Aug 30 16:25 .
15 > drwxr-xr-x 1 root root 62 Aug 30 16:25 ..
16 > -r--r--r-- 1 root root 276 Aug 30 16:25 01-test
17 > -r--r--r-- 1 root root 120 Aug 30 16:25 02-dump
18 > -r--r--r-- 1 root root 957 Aug 30 16:25 10-mtu
19 > -r--r--r-- 1 root root 2866 Aug 30 16:25 10-wpa_supplicant
20 > -r--r--r-- 1 root root 885 Aug 30 16:25 15-timezone
21 > -r--r--r-- 1 root root 5450 Aug 30 16:25 20-resolv.conf
22 > -r--r--r-- 1 root root 811 Aug 30 16:25 29-lookup-hostname
23 > -r--r--r-- 1 root root 3450 Aug 30 16:25 30-hostname
24 > -r--r--r-- 1 root root 2848 Aug 30 16:25 50-ntp.conf
25 > -r--r--r-- 1 root root 1155 Aug 30 16:25 50-yp.conf
26 > rattus ~ #
27 >
28 > A bit of experimentation will find out - but it will have to wait for now.
29 >
30 > BillK
31 >
32 >
33
34
35 Basically, that's my question. If something in the past was done
36 automatically, I may not know it was even done. If I don't know, then I
37 also don't know if I need to do anything to keep things working the way
38 they are now. My install is a few years old so I don't know what all
39 has been done automatically or that may have even been done back during
40 the install process. I just know that I use the middle one, at least I
41 have set the link to my time zone, and the last one may be related but
42 not sure on that.
43
44 Now to read Neil's reply too.
45
46 Dale
47
48 :-) :-)