Re: [02/05] Embedded with systemd: systemd and different modes

2014-11-16 Thread Andrei POPESCU
On Du, 16 nov 14, 20:52:13, Robert wrote: > > To help with field debugging I currently check the state of one of the > buttons at startup and if it is pressed, the unit starts the 802.11 in > host (hostapd) mode and starts sshd. > > This was trivial to configure with /sbin/init calling a shellscr

[02/05] Embedded with systemd: systemd and different modes

2014-11-16 Thread Robert
I have a use case where I have a logging unit with a few buttons that are available to the user. The buttons are read via the kernel GPIO methods. There is no display, no keyboard, only 802.11. Normally the unit starts a few daemons and starts the 802.11 in client (wpa_supplicant) mode. To help w