mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
bash startfiles: Add file to make sure that all paths are available.
This commit is contained in:
11
config/profile.d/extrapaths.sh
Normal file
11
config/profile.d/extrapaths.sh
Normal file
@@ -0,0 +1,11 @@
|
||||
# Make sure the basic paths are always available.
|
||||
|
||||
pathmunge /bin
|
||||
pathmunge /usr/bin
|
||||
pathmunge /usr/local/bin
|
||||
|
||||
for directory in $(find /opt/*/bin -maxdepth 1 -type d 2>/dev/null); do
|
||||
pathmunge ${directory} after
|
||||
done
|
||||
|
||||
unset directory
|
||||
Reference in New Issue
Block a user