Resize /system in boot

Is it really safe?
Tested on Allview V3 Viper and Huawei Mate 9
diff --git a/vndk.rc b/vndk.rc
index 064f0ae..7a31398 100644
--- a/vndk.rc
+++ b/vndk.rc
@@ -1,4 +1,5 @@
 on post-fs
 	exec - root -- /system/bin/vndk-detect
+	exec - root -- /system/bin/resize-system.sh
 	mount none /system/etc/usb_audio_policy_configuration.xml /vendor/etc/usb_audio_policy_configuration.xml bind
 	export LD_CONFIG_FILE /system/etc/ld.config.${persist.sys.vndk}.txt