mirror of
https://gitlab.com/asus-linux/asusctl.git
synced 2026-02-06 00:15:04 +01:00
Improvements to service init
This commit is contained in:
6
debian/changelog
vendored
6
debian/changelog
vendored
@@ -1,3 +1,9 @@
|
||||
rog-core (0.14.4) focal; urgency=medium
|
||||
|
||||
- Improve how service is initialised on boot
|
||||
|
||||
-- Luke Jones <luke@ljones.dev> Tue, 07 Jul 2020 16:14:48 +1200
|
||||
|
||||
rog-core (0.14.3) focal; urgency=medium
|
||||
|
||||
- Proper fix of laptop mode conversion bug
|
||||
|
||||
1
debian/control
vendored
1
debian/control
vendored
@@ -18,6 +18,7 @@ Package: rog-core
|
||||
Architecture: amd64
|
||||
Depends:
|
||||
dbus,
|
||||
libc6,
|
||||
systemd,
|
||||
libusb-1.0-0,
|
||||
${misc:Depends},
|
||||
|
||||
7
debian/rog-core.postinst
vendored
7
debian/rog-core.postinst
vendored
@@ -4,7 +4,12 @@ set -e
|
||||
|
||||
case "$1" in
|
||||
configure)
|
||||
mv /etc/rogcore.conf /etc/rogcore.save || true
|
||||
CONF='/etc/rogcore.conf'
|
||||
if [ -f $CONF ]; then
|
||||
mv $CONF $CONF.save
|
||||
fi
|
||||
#ROG=$(lsusb |grep 0b05 |cut -d ' ' -f 6 |cut -d ':' -f 2)
|
||||
#sed -i -e "s|==/"1866/"|==/"${ROG}/"|g" /etc/udev/rules.d/99-rog-core.rules
|
||||
;;
|
||||
|
||||
*)
|
||||
|
||||
5
debian/rog-core.postrm
vendored
5
debian/rog-core.postrm
vendored
@@ -4,7 +4,10 @@ set -e
|
||||
|
||||
case "$1" in
|
||||
remove)
|
||||
rm -f /etc/rogcore.conf
|
||||
CONF='/etc/rogcore.conf'
|
||||
if [ -f $CONF ]; then
|
||||
rm -rf $CONF
|
||||
fi
|
||||
;;
|
||||
|
||||
*)
|
||||
|
||||
Reference in New Issue
Block a user