Browse Source

update license info and description; separate old and unstable scripts

master
mxmehl 7 years ago
parent
commit
60139ed8b8
  1. 53
      LICENSE
  2. 28
      mnt-sftp.sh
  3. 27
      old_scripts/mnt-part-to-nas.sh
  4. 0
      old_scripts/mnt-part-to-nas.txt
  5. 27
      old_scripts/mnt-share.sh
  6. 26
      old_scripts/mnt-share2.sh

53
LICENSE

@ -619,56 +619,3 @@ Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
<program> Copyright (C) <year> <name of author>
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<http://www.gnu.org/licenses/>.
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<http://www.gnu.org/philosophy/why-not-lgpl.html>.

28
mnt-sftp.sh

@ -1,4 +1,32 @@
#!/bin/bash
########################################################################
# Copyright (C) 2015 Max Mehl <mail@mehl.mx>
########################################################################
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
########################################################################
#
# This script can mount SFTP drives graphically.
# To obtain SFTP drives, it reads out the ~/.ssh/config file, can be
# configured manually or directly in the program
#
# Read my blog post for more information:
# http://blog.mehl.mx/2014/mounting-a-sftp-storage-in-gnu-linux/
#
########################################################################
cd "$(dirname "$(readlink -f "$0")")"
# Test if config.cfg exists and set needed variables

27
mnt-part-to-nas.sh → old_scripts/mnt-part-to-nas.sh

@ -1,6 +1,29 @@
#!/bin/bash
# Variablen: PART NASIP DEST NAME
# Erforderlich: pcmanfm smbfs/cifs-utils
########################################################################
# Copyright (C) 2013 Max Mehl <mail@mehl.mx>
########################################################################
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
########################################################################
#
# This is a script to mount Windows/SMB shared drives via the CLI
# It's a bit more advanced than mnt-share.sh but still very basic and
# was used for a special environment.
# It requires pcmanfm and smbfs/cifs-utils to be installed.
#
########################################################################
cd "$(dirname "$(readlink -f "$0")")"
# Test if config.cfg exists and set needed variables

0
mnt-part-to-nas.txt → old_scripts/mnt-part-to-nas.txt

27
mnt-share.sh → old_scripts/mnt-share.sh

@ -1,6 +1,29 @@
#!/bin/bash
# Variablen: PART NASIP DEST NAME
# Erforderlich: pcmanfm smbfs/cifs-utils
########################################################################
# Copyright (C) 2013 Max Mehl <mail@mehl.mx>
########################################################################
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
########################################################################
#
# This is a script to mount Windows/SMB shared drives via the CLI
# It is very basic and was used for a special environment.
# It requires pcmanfm and smbfs/cifs-utils to be installed.
#
########################################################################
cd "$(dirname "$(readlink -f "$0")")"
# Test if config.cfg exists and set needed variables

26
mnt-share2.sh → old_scripts/mnt-share2.sh

@ -1,6 +1,30 @@
#!/bin/bash
########################################################################
# Copyright (C) 2014 Max Mehl <mail@mehl.mx>
########################################################################
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
########################################################################
#
# This is a script to mount Windows/SMB shared drives via a dialogue
# It is very basic and was used for a special environment, however it's
# more clever than mnt-share.sh
# It requires smbfs/cifs-utils to be installed.
#
########################################################################
## VARIABLES TO BE CHANGED
cd "$(dirname "$(readlink -f "$0")")"
# Test if config.cfg exists and set needed variables
Loading…
Cancel
Save