Compare commits

..

No commits in common. "e4ab44a8569fb1bcbdf28847dba6eb678b135d55" and "a6b6a778e723c3f3767bc655621bde2f0a077e60" have entirely different histories.

3 changed files with 3 additions and 22 deletions

View File

@ -68,13 +68,9 @@ FORCE:
%.config: %/config.example
# NOTE: this will edit the config either if it does not exist or if it
# is the same as the example...
config.global: config.global.example
@ [ ! -e "$@" ] \
|| cmp --silent "$<" "$@" \
&& cp -p "$<" "$@" \
&& touch "$<" \
&& cat "$<" > "$@" \
&& $(EDITOR) "$@" \
|| true
@ -136,19 +132,7 @@ dev: $(DEV_CTs)
clean:
-rm -rf \
*/staging \
*/traefik \
*/config.last-run
.PHONY: clean-interfaces
clean-interfaces: /etc/network/interfaces.orig
# NOTE: this may need 'ifreload -a' to take effect...
cp "$<" "$(subst .orig,,$<)"
.PHONY: clean-all
clean-all: clean
-rm -rf \
config.global
*/traefik

View File

@ -162,7 +162,7 @@ export EDITOR=nano
Download the [`bootstrap.sh`](./scripts/bootstrap.sh) script and execute it:
```shell
curl -O 'https://raw.githubusercontent.com/flynx/proxmox-utils/refs/heads/master/scripts/bootstrap.sh' && sudo bash bootstrap.sh
curl 'https://raw.githubusercontent.com/flynx/proxmox-utils/refs/heads/master/scripts/bootstrap.sh' | sudo bash
```
_It is recommended to review the script/code before starting._

View File

@ -158,9 +158,6 @@ if xreadYes "# Create bridges?" BRIDGES ; then
fi
fi
# interfaces.orig: backup...
[ -e "${INTERFACES}.orig" ] \
|| @ cp "${INTERFACES}"{,.orig}
@ cp "$INTERFACES"{,.bak}
@ cp "$INTERFACES"{,.new}