mirror of
https://github.com/troglobit/finit.git
synced 2026-11-08 16:11:10 +00:00
Conditional build of /etc/resolveconf/run support
Xandros actually uses it. Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
This commit is contained in:
1 parent
a0382dfab8
commit
7d10388158
2 files changed
+7
-3
No files matched your search
@@ -3,7 +3,7 @@
|
|||||||
- write runlevel to utmp, needed by Printerdrake (Pascal Terjan)
|
- write runlevel to utmp, needed by Printerdrake (Pascal Terjan)
|
||||||
- fix ownership of /var/run/utmp (reported by Pascal Terjan)
|
- fix ownership of /var/run/utmp (reported by Pascal Terjan)
|
||||||
- remove obsolete code to load AGP drivers
|
- remove obsolete code to load AGP drivers
|
||||||
- remove useless (?) /etc/resolveconf/run support (blino)
|
- conditional build of /etc/resolveconf/run support
|
||||||
- add support to /var/run/resolvconf in Mandriva (blino)
|
- add support to /var/run/resolvconf in Mandriva (blino)
|
||||||
|
|
||||||
O.4 (20080516)
|
O.4 (20080516)
|
||||||
|
|||||||
+6
-2
@@ -74,6 +74,7 @@ THE SOFTWARE.
|
|||||||
#define GETTY "/usr/bin/openvt /sbin/getty 38400 tty2"
|
#define GETTY "/usr/bin/openvt /sbin/getty 38400 tty2"
|
||||||
#define RUNPARTS "/bin/run-parts"
|
#define RUNPARTS "/bin/run-parts"
|
||||||
#define TOUCH_ETC_NETWORK_RUN_IFSTATE
|
#define TOUCH_ETC_NETWORK_RUN_IFSTATE
|
||||||
|
#define USE_ETC_RESOLVCONF_RUN
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef DIRECTISA
|
#ifdef DIRECTISA
|
||||||
@@ -188,6 +189,10 @@ int main()
|
|||||||
char username[USERNAME_SIZE] = DEFUSER;
|
char username[USERNAME_SIZE] = DEFUSER;
|
||||||
char hostname[HOSTNAME_SIZE] = "eviltwin";
|
char hostname[HOSTNAME_SIZE] = "eviltwin";
|
||||||
char cmd[CMD_SIZE];
|
char cmd[CMD_SIZE];
|
||||||
|
#ifdef USE_ETC_RESOLVCONF_RUN
|
||||||
|
DIR *dir;
|
||||||
|
struct dirent *d;
|
||||||
|
#endif
|
||||||
#ifdef RUNLEVEL
|
#ifdef RUNLEVEL
|
||||||
struct utmp entry;
|
struct utmp entry;
|
||||||
#endif
|
#endif
|
||||||
@@ -339,9 +344,8 @@ int main()
|
|||||||
/*
|
/*
|
||||||
* Network stuff
|
* Network stuff
|
||||||
*/
|
*/
|
||||||
#if 0
|
|
||||||
/* CM: not sure if anyone actually needs this, check Xandros in Eeepc */
|
|
||||||
|
|
||||||
|
#ifdef USE_ETC_RESOLVCONF_RUN
|
||||||
makepath("/dev/shm/network");
|
makepath("/dev/shm/network");
|
||||||
makepath("/dev/shm/resolvconf/interface");
|
makepath("/dev/shm/resolvconf/interface");
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user