Minor question about the code of the init script
In reading bedrock init's code, I found references to echo and cut, apparently to extract part of a string.
Code:
# Around line 364 Code:
void:/sbin/init Code:
# Code:
# Around line 364 Code:
ychaouche#ychaouche-PC 15:47:32 ~/MUSIQUE/CONTENT/BRASIL $ def_tuple=void:/sbin/init Comments ? |
This isn't running in bash, but the busybox sh we are using does provide that as well. That should work.
However, I don't want to make changes to working code that don't have discernible improvements, as all it does is introduce unnecessary risk without meaningful benefit. There's work towards a proper test suite infrastructure. Once that's in place with adequate tests to confirm such changes won't break something we can revisit the possibility. |
All times are GMT -5. The time now is 07:57 PM. |