~bart-samwel/laptop-mode-tools/main-before-tagging-was-invented

« back to all changes in this revision

Viewing changes to usr/sbin/laptop_mode

  • Committer: Bart Samwel
  • Date: 2007-11-18 16:03:29 UTC
  • Revision ID: bart@samwel.tk-20071118160329-x786kkxpj8bdpx3t
Move modules to /usr/share instead of /usr/lib to improve FHS compliance

Show diffs side-by-side

added added

removed removed

Lines of Context:
1607
1607
fi
1608
1608
 
1609
1609
# Finally, call laptop-mode-tools modules. The modules can use the settings
1610
 
# from the INI files, but they may NOT assume the settings actually exist,
 
1610
# from the config files, but they may NOT assume the settings actually exist,
1611
1611
# as no defaults have been given for them.
 
1612
 
 
1613
# Note that the /usr/local/lib path is deprecated.
1612
1614
export FORCE STATE ON_AC ACTIVATE
1613
 
for SCRIPT in /usr/lib/laptop-mode-tools/modules/* /usr/local/lib/laptop-mode-tools/modules/* /etc/laptop-mode/modules/*; do
 
1615
for SCRIPT in /usr/share/laptop-mode-tools/modules/* /usr/local/lib/laptop-mode-tools/modules/* /usr/local/share/laptop-mode-tools/modules/* /etc/laptop-mode/modules/*; do
1614
1616
        if [ -x "$SCRIPT" ] ; then
1615
1617
                "$SCRIPT" >> $OUTPUT
1616
1618
        else