CVS: moonbase/utils/ospmd BUILD, NONE, 1.1 DETAILS, NONE, 1.1 ospmd.conf, NONE, 1.1

hardkrash at lunar-linux.org hardkrash at lunar-linux.org
Fri Oct 10 21:42:15 GMT 2003


Update of /var/cvs/lunar/moonbase/utils/ospmd
In directory dbguin.lunar-linux.org:/tmp/cvs-serv5333

Added Files:
	BUILD DETAILS ospmd.conf 
Log Message:
Added the ospmd basic acpi daemon and minimal config file 
the power button will call poweroff and shut your computer down (safely)
-- hardkrash


--- NEW FILE: BUILD ---
( 
  # Don't build the gui, sucks anyhow
  sedit "s:gui::g" Makefile &&
  # Have the config file fit lunars config system
  sedit 's:/var/ospmd.conf:/etc/config.d/ospmd.conf:g' ospmd/ospmd.cpp

  make                      &&
  prepare_install           &&
  cd ospmd                  &&
  install -m 550 ospmd /sbin/ &&

  if [ ! -e /etc/config.d/ospmd.conf ]; then
    install -m 644 $SCRIPT_DIRECTORY/ospmd.conf /etc/config.d/
  fi 
  
) > $C_FIFO 2>&1

--- NEW FILE: DETAILS ---
          MODULE=ospmd
         VERSION=20021122
          SOURCE=$MODULE-$VERSION.tar.gz
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE-$VERSION/$MODULE
   SOURCE_URL[0]=$SFORGE_URL/acpi/$SOURCE
        WEB_SITE=http://acpi.sourceforge.net
         ENTERED=20031010
         UPDATED=20031010
      MAINTAINER="hardkrash at lunar-linux.org"
           SHORT="The acpi os daemon hacked up for our uses."
cat << EOF
This application is a bit lacking and sucks for us now. 
I am including it so that I have limited support for my
buttons on my laptop as I get time i'll beef this up so
that it does all of its functions
EOF

--- NEW FILE: ospmd.conf ---
button.lid.action = 0
button.power.action = 3
button.sleep.action = 0




More information about the Lunar-commits mailing list