]> git.corax.cc Git - toolbox/commit
sem,acpi/*: Export global variables
authorMatthias Kruk <m@m10k.eu>
Sat, 3 Apr 2021 22:35:14 +0000 (07:35 +0900)
committerMatthias Kruk <m@m10k.eu>
Sat, 3 Apr 2021 22:35:14 +0000 (07:35 +0900)
commit62a98913cf209ddd06fd80f9fcf45a0cc31a43a2
tree9b8b14702d714e9de2e133313d627c30380f2409
parent9109f2b486f6d2a995e979df88661ce28fb87a52
sem,acpi/*: Export global variables

Global variables declared in the sem and acpi/* modules are not exported,
causing them to become invisible in child processes. This effectively makes
it impossible to use these modules in scripts that fork themselves to the
background.
This commit changes the declarations so that the variables are exported.
include/acpi/ac.sh
include/acpi/battery.sh
include/sem.sh