Files
argon40-battery-display/battery/setupdkms
Jeff Curless 2b178485ae Modify build and archive Argon40 scripts.
Move all of the argon40 scripts to archive... these scripts should not
be used as is, they are simply copies of the originals so I can track
changes to see if there is anything important that needs to be
transfered to the battery driver.
2026-02-02 13:02:10 -05:00

17 lines
407 B
Bash
Executable File

#!/bin/bash
DKMS_DEST=/usr/src/oneUpPower-1.0
DKMS_SRC=$DKMS_DEST/src
#
# Setup DKMS
#
sudo mkdir -p $DKMS_SRC
sudo cp ./dkms/dkms.conf $DKMS_DEST/dkms.conf
sudo cp ./dkms/postinstall $DKMS_DEST/postinstall
sudo cp ./dkms/Makefile $DKMS_SRC/Makefile
sudo cp oneUpPower.c $DKMS_SRC/oneUpPower.c
sudo dkms add -m oneUpPower -v 1.0
sudo dkms build -m oneUpPower -v 1.0
sudo dkms install -m oneUpPower -v 1.0