update postinstall scripts for smartos