WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Suggestions  (Read 1889 times)

Offline jazzbiker

  • Jr. Member
  • **
  • Posts: 86
Re: Suggestions
« Reply #15 on: May 14, 2019, 12:58:38 AM »
It's my experience as well that find output is unsorted. When I proposed this change not so long ago http://forum.tinycorelinux.net/index.php/topic,22312.0.html I only had one file in mind so it didn't occur to me that sort would be necessary. But yes, predicable is better. Maybe post your patch to that thread?

Hi, andyj!

Surprisingly, i think this additional "sort" for /usr/local/etc/X.d will cause problems.
If we are talking about ~/.X.d all staff exists in user domain and is fully changeable and though controllable and predictable.
But in the case of /usr/local/etc/X.d scripts come from different extensions and their sorting alphanumerically before execution may cause inappropriate execution order which can NOT be changed.
If this additional execution of /usr/local/etc/X.d/* will be added to .xsession, user can change the scripts execution order changing extensions order in onboot.lst (as they are executed in creation order). And "sort" will kill this possibility.