1
0
Fork 0
mirror of https://github.com/pygos/build.git synced 2024-11-22 11:09:46 +01:00

Fix init-scripts path for static network config

Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
This commit is contained in:
David Oberhollenzer 2020-03-13 17:04:58 +01:00
parent 1a697b336f
commit 356f4ed018

View file

@ -89,8 +89,8 @@ deploy() {
svc=$(file_path_override "netcfg_static") svc=$(file_path_override "netcfg_static")
if [ ! -z "$svc" ]; then if [ ! -z "$svc" ]; then
mkdir -p "$PKGDEPLOYDIR/netcfg" mkdir -p "$PKGDEPLOYDIR/etc/netcfg"
cp "$svc" "$PKGDEPLOYDIR/netcfg/static" cp "$svc" "$PKGDEPLOYDIR/etc/netcfg/static"
echo "file etc/netcfg/static 0644 0 0" >> "$PKGDEPLOYDIR/$PKGNAME.files" echo "file etc/netcfg/static 0644 0 0" >> "$PKGDEPLOYDIR/$PKGNAME.files"
fi fi