Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:GA
udhcp
udhcp-update-scripts.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File udhcp-update-scripts.patch of Package udhcp
Index: udhcp-0.9.8/Makefile =================================================================== --- udhcp-0.9.8.orig/Makefile +++ udhcp-0.9.8/Makefile @@ -100,6 +100,10 @@ endif $(INSTALL) samples/sample.$$name \ $(USRSHAREDIR)/udhcpc/default.$$name ; \ done + cat $(USRSHAREDIR)/udhcpc/default.script | sed -e s/sample/default/ > \ + $(USRSHAREDIR)/udhcpc/tmp.defualt.script + mv $(USRSHAREDIR)/udhcpc/tmp.defualt.script $(USRSHAREDIR)/udhcpc/default.script + chmod +x $(USRSHAREDIR)/udhcpc/default.script mkdir -p $(USRSHAREDIR)/man/man1 $(INSTALL) dumpleases.1 $(USRSHAREDIR)/man/man1 mkdir -p $(USRSHAREDIR)/man/man5 @@ -110,5 +114,5 @@ endif chmod +x $(USRSHAREDIR)/udhcpc/outputpy.udhcp.sh clean: - -rm -f udhcpd udhcpc dumpleases *.o core + rm -f udhcpd udhcpc dumpleases *.o core Index: udhcp-0.9.8/samples/sample.bound =================================================================== --- udhcp-0.9.8.orig/samples/sample.bound +++ udhcp-0.9.8/samples/sample.bound @@ -1,7 +1,7 @@ #!/bin/sh # Sample udhcpc renew script -RESOLV_CONF="/etc/udhcpc/resolv.conf" +RESOLV_CONF="/etc/resolv.conf" [ -n "$broadcast" ] && BROADCAST="broadcast $broadcast" [ -n "$subnet" ] && NETMASK="netmask $subnet"
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor