Renames since the repo got renamed too

master
denes 6 years ago
parent 9811ebb482
commit f1cdd4132e

@ -12,13 +12,13 @@ For example: Asus laptop extras, ThinkPad ACPI Laptop Extras, etc.
## Usage: ## Usage:
Execute the script as a root user: Execute the script as a root user:
``` ```
/usr/bin/battery_status_led.sh /usr/bin/battery-status-led.sh
``` ```
Or start with systemd: Or start with systemd:
``` ```
systemctl start battery_status_led systemctl start battery-status-led
systemctl enable battery_status_led systemctl enable battery-status-led
``` ```
The LED device can be changed by editing the systemd service file's line: The LED device can be changed by editing the systemd service file's line:
@ -29,18 +29,18 @@ Environment="BATTERY_STATUS_LED_DEV=/sys/class/leds/input4\:\:capslock"
## Manual install on gentoo: ## Manual install on gentoo:
``` ```
cd DIR cd DIR
git clone https://github.com/dmatetelki/battery_status_led git clone https://github.com/dmatetelki/battery-status-led
cd /usr/local/portage/app-misc/ cd /usr/local/portage/app-misc/
ln -s DIR/battery_status_led/app-misc/battery_status_led battery_status_led ln -s DIR/battery-status-led/app-misc/battery-status-led battery-status-led
ebuild battery_status_led-0.1.ebuild digest ebuild battery-status-led-0.1.ebuild digest
emerge battery_status_led emerge battery-status-led
``` ```
## Creating a debian package and installing it: ## Creating a debian package and installing it:
``` ```
cd DIR cd DIR
git clone https://github.com/dmatetelki/battery_status_led git clone https://github.com/dmatetelki/battery-status-led
cd battery_status_led/debian cd battery-status-led/debian
./package.deb ./package.deb
sudo dpkg -i ./batterystatusled_0.1-1.deb sudo dpkg -i ./batterystatusled_0.1-1.deb
``` ```
@ -48,10 +48,10 @@ sudo dpkg -i ./batterystatusled_0.1-1.deb
## Creating RPM package and installing it: ## Creating RPM package and installing it:
``` ```
cd DIR cd DIR
git clone https://github.com/dmatetelki/battery_status_led git clone https://github.com/dmatetelki/battery-status-led
cd battery_status_led/redhat cd battery-status-led/redhat
./package.rpm ./package.rpm
sudo rpm -i ./battery_status_led-0.1-1.noarch.rpm sudo rpm -i ./battery-status-led-0.1-1.noarch.rpm
``` ```
## Note: ## Note:

@ -6,9 +6,9 @@ EAPI=6
inherit git-r3 systemd linux-info inherit git-r3 systemd linux-info
DESCRIPTION="Battery (low/critical) status indication by making a (the capslock) LED blink" DESCRIPTION="Battery (low/critical) status indication by making a (the capslock) LED blink"
HOMEPAGE="https://github.com/dmatetelki/battery_status_led" HOMEPAGE="https://github.com/dmatetelki/battery-status-led"
SRC_URI="" SRC_URI=""
EGIT_REPO_URI="https://github.com/dmatetelki/battery_status_led" EGIT_REPO_URI="https://github.com/dmatetelki/battery-status-led"
LICENSE="GPL-3" LICENSE="GPL-3"
SLOT="0" SLOT="0"

@ -2,19 +2,19 @@
# Copyright 2018 Denes Matetelki # Copyright 2018 Denes Matetelki
# This file is part of battery_status_led. # This file is part of battery-status-led.
# battery_status_led is free software: you can redistribute it and/or modify it # battery-status-led is free software: you can redistribute it and/or modify it
# under the terms of the GNU General Public License v3 as published by the Free # under the terms of the GNU General Public License v3 as published by the Free
# Software Foundation. # Software Foundation.
# battery_status_led is distributed in the hope that it will be useful, but # battery-status-led is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License v3 for # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License v3 for
# more details. # more details.
# You should have received a copy of the GNU General Public License v3 along # You should have received a copy of the GNU General Public License v3 along
# with battery_status_led. If not, see # with battery-status-led. If not, see
# https://www.gnu.org/licenses/gpl-3.0.html. # https://www.gnu.org/licenses/gpl-3.0.html.
# limits in percentages # limits in percentages

@ -21,7 +21,7 @@ Denes Matetelki <denes.matetelki@gmail.com>
.SH SEE ALSO .SH SEE ALSO
Homepage at: <https://github.com/dmatetelki/battery_status_led/> Homepage at: <https://github.com/dmatetelki/battery-status-led/>
.br .br
Copyright © 2018 Denes Matetelki. Copyright © 2018 Denes Matetelki.

@ -3,7 +3,7 @@ Description=Battery monitoring on CapsLock LED
[Service] [Service]
Environment="BATTERY_STATUS_LED_DEV=/sys/class/leds/input4\:\:capslock" Environment="BATTERY_STATUS_LED_DEV=/sys/class/leds/input4\:\:capslock"
ExecStart="/usr/bin/battery_status_led.sh" ExecStart="/usr/bin/battery-status-led.sh"
Type=idle Type=idle
[Install] [Install]

@ -2,19 +2,19 @@
# Copyright 2018 Denes Matetelki # Copyright 2018 Denes Matetelki
# This file is part of battery_status_led. # This file is part of battery-status-led.
# battery_status_led is free software: you can redistribute it and/or modify it # battery-status-led is free software: you can redistribute it and/or modify it
# under the terms of the GNU General Public License v3 as published by the Free # under the terms of the GNU General Public License v3 as published by the Free
# Software Foundation. # Software Foundation.
# battery_status_led is distributed in the hope that it will be useful, but # battery-status-led is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License v3 for # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License v3 for
# more details. # more details.
# You should have received a copy of the GNU General Public License v3 along # You should have received a copy of the GNU General Public License v3 along
# with battery_status_led. If not, see # with battery-status-led. If not, see
# https://www.gnu.org/licenses/gpl-3.0.html. # https://www.gnu.org/licenses/gpl-3.0.html.
NAME="battery-status-led" NAME="battery-status-led"

Loading…
Cancel
Save