4ac11d8061d317ca75ee671a27c90897fd49b407
[openwrt/staging/noltari.git] / package / network / config / dsaconfig / files / dsaconfig.include
1 #!/bin/sh
2
3 setup_switch() {
4 # Skip switch setup on network restart. The netifd process
5 # will be started afterwards and remove all interfaces again...
6 if [ "$initscript" = /etc/init.d/network ] && [ "$action" = restart ]; then
7 return 0
8 fi
9
10 /sbin/dsaconfig apply 2>&1 | logger -t dsaconfig
11 }