Is there a way to run scripts after a certain yast operation. Lets say I create an user with yast’s user management tool and after the tool writes stuff to system configs it would run bash script or perl script or something which would do some operations.
yes…all the source code for YaST and its various modules are open
and available…you should therefore be able to patch/build/install a
YaST willing to do as you wish, including running any kind of script
you want anywhere, anytime…or after any event you wish…
[somehow i have a feeling that that wasn’t the answer you really
wanted…that is, you asked “Is there a way. . .” and i think you
meant “How do I . . .”]
–
palladium
/sbin/yast2 is a bash shell script. And /sbin/yast is a symbolic link to /sbin/yast2. You can make /sbin/yast a wrapper script for yast2 or hack yast2 and add in your additions there. Beware: your changes will be lost after an update.