add systemd unit for refresher and document it

This commit is contained in:
William Castro 2014-05-12 13:53:43 -07:00
parent b18084fbfc
commit 655eab3ab6
2 changed files with 12 additions and 0 deletions

View file

@ -98,6 +98,8 @@ exec awesome
Since the MSMFB_SW_REFRESHER does not seem to be working i wrote this instead.
Just compile and put in you ~/ or whereever so xinit can run it.
You can also use the included systemd unit file for the refresher.
## Enabling ADB and RNDIS (reverse USB tethering)
1: Create this link for ADB to be able to find the shell, etc.
ln -s / /system

10
system/refresher.service Normal file
View file

@ -0,0 +1,10 @@
[Unit]
Before=graphical.target
[Service]
Type=simple
ExecStart=/bin/refresher
[Install]
WantedBy=multi-user.target