1
1
Fork 0
scripts/ftpsftp
david 89500d6376 added old ftpsftp scripts 2013-06-06 10:52:30 +02:00
..
archive added old ftpsftp scripts 2013-06-06 10:52:30 +02:00
README.please added old ftpsftp scripts 2013-06-06 10:52:30 +02:00
ftpsftp.func added old ftpsftp scripts 2013-06-06 10:52:30 +02:00
ftpsftp.sh added old ftpsftp scripts 2013-06-06 10:52:30 +02:00
install.sh added old ftpsftp scripts 2013-06-06 10:52:30 +02:00

README.please

attention: the install procedure is broke at the moment..

## why are some variables defined in the configfile and some directly in the script?
the vars in the configfile are specific to your installation and can or should be changed. everything defined directly in the script should remain the same for every installation.

## features wanted

info option (or some sort of stats)

 -- ftp user count
 -- sftp user count
 -- used disk space
 -- used disk space by user
 -- free disk space
 -- free quota
 -- quotamountpoint



## functions
quotacalc    ...  gives back the free megabytes on the storage
quotaconf    ...  sets the quota for existing user
isuserthere  ...  checks if user exists or asks to create it
amiroot      ...  checks if there are root privileges (ends scripts if not)
update       ...  pulls updates from ftpsftp git repository
version      ...  prints version information
usage        ...  prints usage message
add          ...  adding a new user
delete       ...  delete an existing user



contact me if you have any questions: david@socialnerds.org