]>
git.ipfire.org Git - people/ms/ipfire-2.x.git/blob - src/misc-progs/wirelessclient.c
1 /* IPFire helper program - wirelessclient
3 * This program is distributed under the terms of the GNU General Public
4 * Licence. See the file COPYING for details.
11 int main(int argc
, char *argv
[]) {
15 if (strcmp(argv
[1], "restart") == 0) {
16 safe_system("/etc/rc.d/init.d/wlanclient restart >/dev/null 2>&1");
20 if (strcmp(argv
[1], "status") == 0) {
21 safe_system("/usr/sbin/wpa_cli status verbose");