#!/bin/sh

# Nginx needs to have httpd.webserver.protocol to create the symlink
if [ -z "$(uci -q get httpd.webserver.protocol)" ]; then
    cp /barix/config/defaults/httpd /barix/config/current
fi
