Script editing fstab. That way if I mess up I learn the hardway...

Only thing left is to tidy up the scripts and create one for creating samba shares. I must say I'm really loving bash!

Total of 3 scripts and I can have a fresh install setup nearly the way I want.

@jordan31 Bourne-family shells like bash are definitely great for quickly banging out simple stuff but, compared to a modern scripting language like Python, they can get hairy very quickly.

(I'm not a fan of using `trap` to ensure temporary files get cleaned up no matter how the script exits, for example.)

You'll probably want at some point.

Sign in to participate in the conversation

Fosstodon is an English speaking Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.