Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 51032 Details for
Bug 81674
adsl script in new net-scripts does not work..
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
removes ugly hack (and adds new one)
adsl.patch (text/plain), 1020 bytes, created by
Olivier Crete (RETIRED)
on 2005-02-11 16:23:19 UTC
(
hide
)
Description:
removes ugly hack (and adds new one)
Filename:
MIME Type:
Creator:
Olivier Crete (RETIRED)
Created:
2005-02-11 16:23:19 UTC
Size:
1020 bytes
patch
obsolete
>--- /root/adsl.orig 2005-01-17 19:01:15.810297048 -0500 >+++ /lib/rcscripts/net.modules.d/adsl 2005-01-17 20:12:01.322881032 -0500 >@@ -77,11 +77,15 @@ > eval user=\"\$\{adsl_user_${ifvar}\}\" > >+ [ "${user}" = "" ] && user=$( >+ unset USER >+ source ${cfgfile} &> ${devnull} >+ echo ${USER} >+ ) >+ > # Start ADSL with the cfgfile, but override ETH and PIDFILE > einfo "Starting ADSL for ${iface}" >- /usr/sbin/adsl-start <(cat ${cfgfile}; \ >- echo "ETH=${iface}"; \ >- echo "PIDFILE=/var/run/adsl-${iface}.pid"; \ >- [[ -n ${user} ]] && echo "USER=${user}") \ >- >${devnull} >+ GENTOO_PIDFILE=/var/run/adsl-${iface}.pid /usr/sbin/adsl-start \ >+ "${iface}" "${user}" "${cfgfile}" \ >+ > ${devnull} > eend $? || return $? > return 0 >@@ -105,7 +109,6 @@ > > einfo "Stopping ADSL for ${iface}" >- /usr/sbin/adsl-stop <(cat ${cfgfile}; \ >- echo "ETH=${iface}"; echo "PIDFILE=/var/run/adsl-${iface}.pid") \ >- >${devnull} >+ GENTOO_PIDFILE=/var/run/adsl-${iface}.pid /usr/sbin/adsl-stop \ >+ ${cfgfile} >${devnull} > eend $? >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 81674
: 51032