75 |
+ $unifi->delete_prop('TCPPort') if ( defined( $unifi->prop('TCPPort') ) and $unifi->prop('TCPPort') eq "8080,8443,8880,8843"); |
+ $unifi->delete_prop('TCPPort') if ( defined( $unifi->prop('TCPPort') ) and $unifi->prop('TCPPort') eq "8080,8443,8880,8843"); |
76 |
+ |
+ |
77 |
+} |
+} |
78 |
|
diff -Nur --no-dereference smeserver-unifi-5.6.30.old/root/etc/e-smith/events/actions/upgrade_unifi_controller.sh smeserver-unifi-5.6.30/root/etc/e-smith/events/actions/upgrade_unifi_controller.sh |
79 |
|
--- smeserver-unifi-5.6.30.old/root/etc/e-smith/events/actions/upgrade_unifi_controller.sh 2021-11-01 21:56:56.066000000 -0400 |
80 |
|
+++ smeserver-unifi-5.6.30/root/etc/e-smith/events/actions/upgrade_unifi_controller.sh 2022-08-03 22:46:48.835000000 -0400 |
81 |
|
@@ -64,7 +64,7 @@ |
82 |
|
|
83 |
|
# Stop the local UniFi Controller service |
84 |
|
printf "\n" |
85 |
|
- service $UNIFI_SERVICE stop |
86 |
|
+ /usr/bin/systemctl stop $UNIFI_SERVICE |
87 |
|
|
88 |
|
# Remove previous backup directory (if it exists) |
89 |
|
# if [ -d "$UNIFI_BACKUP_DIR" ]; then |
90 |
|
@@ -101,7 +101,7 @@ |
91 |
|
|
92 |
|
# Restart the local UniFi Controller service |
93 |
|
printf "\n" |
94 |
|
- service $UNIFI_SERVICE start |
95 |
|
+ /usr/bin/systemctl start $UNIFI_SERVICE |
96 |
|
|
97 |
|
# All done! |
98 |
|
printf "\nUpgrade of UniFi Controller complete!\n" |
99 |
diff -Nur --no-dereference smeserver-unifi-5.6.30.old/root/etc/e-smith/templates/usr/bin/hook-script.sh/30unifi smeserver-unifi-5.6.30/root/etc/e-smith/templates/usr/bin/hook-script.sh/30unifi |
diff -Nur --no-dereference smeserver-unifi-5.6.30.old/root/etc/e-smith/templates/usr/bin/hook-script.sh/30unifi smeserver-unifi-5.6.30/root/etc/e-smith/templates/usr/bin/hook-script.sh/30unifi |
100 |
--- smeserver-unifi-5.6.30.old/root/etc/e-smith/templates/usr/bin/hook-script.sh/30unifi 1969-12-31 19:00:00.000000000 -0500 |
--- smeserver-unifi-5.6.30.old/root/etc/e-smith/templates/usr/bin/hook-script.sh/30unifi 1969-12-31 19:00:00.000000000 -0500 |
101 |
+++ smeserver-unifi-5.6.30/root/etc/e-smith/templates/usr/bin/hook-script.sh/30unifi 2022-08-03 22:03:07.459000000 -0400 |
+++ smeserver-unifi-5.6.30/root/etc/e-smith/templates/usr/bin/hook-script.sh/30unifi 2022-08-03 22:03:07.459000000 -0400 |