AND it "Executes all system configuration applications."
so sys-unconfig erases all your system configuration and let you configure them after the reboot. it's what your script wants to be and more.
this is not intendet to be offense, but i just see no point in writing a script that does what you can do by only typing _one_ system command.