mirror of
https://gitlab.alpinelinux.org/alpine/cloud/tiny-cloud.git
synced 2025-12-15 11:22:43 +03:00
* numerous imds script enhancements, including -h/--help * check imds for secondary ipv4 & ipvs via ifupdown-ng executor * simplify shell source to things /etc/conf.d/ and /lib/tiny-cloud/ * move log function to /lib/tiny-cloud/common
15 lines
174 B
Bash
Executable File
15 lines
174 B
Bash
Executable File
#!/bin/sh
|
|
# vim: set ts=8 noet:
|
|
|
|
# Tiny Cloud IMDS ifupdown-ng executor
|
|
|
|
case "$PHASE" in
|
|
post-up)
|
|
/sbin/imds-net-sync
|
|
;;
|
|
pre-down)
|
|
/sbin/imds-net-sync -k
|
|
;;
|
|
*) ;;
|
|
esac
|