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

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