FS#30341 - [wifi-select] Remove dependency on initscripts
Attached to Project:
Community Packages
Opened by JB (techryda) - Monday, 18 June 2012, 14:31 GMT
Last edited by Sergej Pupykin (sergej) - Friday, 29 June 2012, 14:10 GMT
Opened by JB (techryda) - Monday, 18 June 2012, 14:31 GMT
Last edited by Sergej Pupykin (sergej) - Friday, 29 June 2012, 14:10 GMT
|
Details
Description:
I use netcfg/wifiselect infrequently, but today while attenpting to upgrade my systemI noticed a new dependency on initscripts. I use systemd and systemd-sysvcompat. I do not have, or wish to have initscripts installed on my system. After briefly looking at the wifi-select code it seems that the only thing it needs from initscripts is one function printh1 On line 11 of /usr/bin/wifi-select: /etc/rc.d/functions is sourced On line 15 of the same file: printhl is called The printhl function consists of this: printhl() { printf "${C_OTHER}${PREFIX_HL} ${C_H1}${1}${C_CLEAR} \n" } So by changing one line in your script, we could eliminate a dependency on initscripts, which for people who use systemd, is unnecessary. Please consider making this change |
This task depends upon