diff --git a/on-boot-script/dpkg-build-files/debian/changelog b/on-boot-script/dpkg-build-files/debian/changelog index e21f4cb..690ec4b 100644 --- a/on-boot-script/dpkg-build-files/debian/changelog +++ b/on-boot-script/dpkg-build-files/debian/changelog @@ -1,3 +1,9 @@ +udm-boot (1.0.7) stable; urgency=medium + + * Support for Legacy and Current Firmware + + -- boostchicken Tue, 31 Jan 2023 22:19:59 -0800 + udm-boot (1.0.6) stable; urgency=medium * Fix timeouts diff --git a/on-boot-script/dpkg-build-files/debian/postinst b/on-boot-script/dpkg-build-files/debian/postinst index 463d38f..7732185 100644 --- a/on-boot-script/dpkg-build-files/debian/postinst +++ b/on-boot-script/dpkg-build-files/debian/postinst @@ -21,6 +21,9 @@ alias deb-systemd-invoke='systemctl --no-block --' case "$1" in configure) + if ! [ -x /sbin/ssh-proxy ]; then + sed -i 's/\/sbin\/ssh-proxy//' /lib/systemd/system/udm-boot.service + fi ;; abort-upgrade|abort-remove|abort-deconfigure) diff --git a/on-boot-script/dpkg-build-files/debian/postrm b/on-boot-script/dpkg-build-files/debian/postrm index 0a683e9..e5ba8ba 100755 --- a/on-boot-script/dpkg-build-files/debian/postrm +++ b/on-boot-script/dpkg-build-files/debian/postrm @@ -21,7 +21,9 @@ set -e case "$1" in purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) - /sbin/ssh-proxy rm -f /mnt/data/on_boot.sh + if [ -x /sbin/ssh-proxy ]; then + /sbin/ssh-proxy rm -f /mnt/data/on_boot.sh + fi true ;; diff --git a/on-boot-script/dpkg-build-files/debian/preinst b/on-boot-script/dpkg-build-files/debian/preinst index bd1b25a..55e7e6d 100755 --- a/on-boot-script/dpkg-build-files/debian/preinst +++ b/on-boot-script/dpkg-build-files/debian/preinst @@ -16,7 +16,9 @@ set -e case "$1" in install|upgrade) - /sbin/ssh-proxy rm -f /mnt/data/on_boot.sh + if [ -x /sbin/ssh-proxy ]; then + /sbin/ssh-proxy rm -f /mnt/data/on_boot.sh + fi true ;; diff --git a/on-boot-script/packages/udm-boot_1.0.7_all.deb b/on-boot-script/packages/udm-boot_1.0.7_all.deb new file mode 100644 index 0000000..1d0b73e Binary files /dev/null and b/on-boot-script/packages/udm-boot_1.0.7_all.deb differ