Improvements to service init

This commit is contained in:
Luke
2020-07-07 16:14:18 +12:00
parent c6c934bf40
commit ae9d0463da
43 changed files with 190 additions and 13 deletions

6
debian/changelog vendored
View File

@@ -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
View File

@@ -18,6 +18,7 @@ Package: rog-core
Architecture: amd64
Depends:
dbus,
libc6,
systemd,
libusb-1.0-0,
${misc:Depends},

View File

@@ -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
;;
*)

View File

@@ -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
;;
*)