Our best foot forward

Sebastian Heinlein glatzor at ubuntu.com
Sun Nov 18 12:48:01 UTC 2007


Am Mittwoch, den 14.11.2007, 06:47 -0500 schrieb Patrick:

> #!/bin/bash
> 
> echo "we need to do such and such, here are some options to try, blah, 
> blah, blah etc"
> 
> sudo gedit /etc/exports
> 
> echo "okay now we need to do this because blah blah"
> 
> sudo exportfs -ra
> 
> sudo /etc/init.d/portmap restart
> 
> sudo /etc/init.d/nfs-kernel-server restart

There is no error handling or any way to pause or to redo a step in your
script. So it will likely break a lot of systems.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <https://lists.ubuntu.com/archives/ubuntu-devel-discuss/attachments/20071118/16838baa/attachment.pgp>


More information about the Ubuntu-devel-discuss mailing list