procd: start additional consoles during hotplugging
[openwrt/staging/jogo.git] / package / system / procd / files / hotplug.json
index f676bac79e43c00bbf3e731cb7a156dec2ffbd31..7e0f129d356515c15fd43cd0c540d5cdc6ecf259 100644 (file)
                                        [ "load-firmware", "/lib/firmware" ],
                                        [ "return" ]
                                ]
+                       ],
+                       [ "if",
+                               [ "regex", "DEVNAME", "^ttyGS" ],
+                               [ "start-console", "%DEVNAME%" ]
                        ]
                ],
                "remove" : [