[opensuse] how to write a script