OpenWireless icon indicating copy to clipboard operation
OpenWireless copied to clipboard

Update sendAppToRouter script for Mac OS X

Open Rangak opened this issue 10 years ago • 1 comments

The script uses inotifywatch which is not available on a Mac. Detect platform and use an equivalent tool for Mac such as fswatch.

Location of script : https://github.com/EFForg/OpenWireless/blob/master/sendAppToRouter

Context: https://github.com/EFForg/OpenWireless#deploy-changes-to-router

Acceptance Criteria:

Given I have connected to an OpenWireless router into which I have ssh access. (See OW wireless setup #287 to learn how to get ssh access). And I have ran ./sendAppToRouter --continuous

When I have made a change to a file in the routerapi ( see https://github.com/EFForg/OpenWireless/tree/master/routerapi) directory on my Mac

Then I ssh to the router and cat the file changed and the change should be present.

Rangak avatar Dec 11 '14 23:12 Rangak

Location of script : https://github.com/EFForg/OpenWireless/blob/master/sendAppToRouter

Context: https://github.com/EFForg/OpenWireless#deploy-changes-to-router

Acceptance Criteria:

Given I have connected to an OpenWireless router into which I have ssh access. (See OW wireless setup #287 to learn how to get ssh access). And I have ran ./sendAppToRouter --continuous And I have made a change to a file in the routerapi ( see https://github.com/EFForg/OpenWireless/tree/master/routerapi) directory on my Mac

When I ssh to the router and cat the file changed Then the change should be present on the router

Rangak avatar Mar 06 '15 01:03 Rangak