cli: use model scope for hook calls
authorFelix Fietkau <nbd@nbd.name>
Wed, 26 Feb 2025 09:35:02 +0000 (10:35 +0100)
committerFelix Fietkau <nbd@nbd.name>
Fri, 28 Feb 2025 16:36:01 +0000 (17:36 +0100)
commit795337640073d0f15f6f60a91048c8b2295b9994
treeafb426b7bef19b48fb831421da13ac200a5e4250
parentbc078b833a27c260db7134cd53cc0dfffb494bce
cli: use model scope for hook calls

Make the scope consistent with other callbacks

Signed-off-by: Felix Fietkau <nbd@nbd.name>
package/network/services/unetd/files/unet.uc
package/utils/cli/files/usr/share/ucode/cli/datamodel.uc