Skip to content

Commit 0d091c0

Browse files
committed
Remove user file check for install.
User defined adapter is checked during the build process for initramfs, the adapter not existing before the package is installed should not cause the installation to fail. No functional change as this is already checked in hooks as a pre-requisite to build, and allows 'make install' to succeed with a default package. Changed: * build_wg_setconf - remove check for adapter configuration existing during installation.
1 parent 77567b0 commit 0d091c0

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

scripts/build_wg_setconf.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,6 @@ fi
1414
WG_INIT_CONFIG="${CONFIG_PATH}/initramfs"
1515
. "${WG_INIT_CONFIG}"
1616

17-
if [ ! -s "${ADAPTER}" ]; then
18-
echo "Wireguard adapter config not found. Missing: ${ADAPTER}"
19-
exit 1
20-
fi
2117
if [ -z "${DATETIME_URL}" ]; then
2218
echo "DATETIME_URL not set (may cause issues for Raspberry Pi devices)."
2319
fi

0 commit comments

Comments
 (0)