The main task here is to code a script which automates serveral tasks like Setting up Samba Server, Updating system packages, Checking System health (CPU, Disk and Network Usages), Detecting and mounting usb and disk drives etc.
Scripts should be coded in either bash or Python.
Task here is to code a bash/python script which can support the following tasks:
Script should take serveral input from the user like directory to be shared, username and password for server login etc.
Scipt should be able to detect the distro on which it is running and should be able to run the appropriate commands to update packages.
Script should support running in a monitoring mode where it can keep a check on system health by monitoring system wide resource usage, hardware health, Network usage etc.
Script should be able to check for plugged in disk devices (USB devices and drive partitions) and mounting/unmounting.
- Each of the 4 tasks must be submitted in different commits.
- Script should accept command like options -1,-2,-3,-4 and -help for each task and "help" for descriptions of the script.
- Corner cases should be handled accordingly for each task.
- Do not copy code directly from other PRs or stackoverflow.
- For any query, Open an issue and place your query there.
- Script should support both Debian and Fedora based distributions.