Sfoglia il codice sorgente

No command options

Bob Mottram 10 anni fa
parent
commit
7b17475383
1 ha cambiato i file con 0 aggiunte e 22 eliminazioni
  1. 0
    22
      src/freedombone-sec

+ 0
- 22
src/freedombone-sec Vedi File

@@ -28,8 +28,6 @@
28 28
 # You should have received a copy of the GNU General Public License
29 29
 # along with this program. If not, see <http://www.gnu.org/licenses/>.
30 30
 
31
-NO_OF_ARGS=$#
32
-
33 31
 SSL_PROTOCOLS=
34 32
 SSL_CIPHERS=
35 33
 SSH_CIPHERS=
@@ -275,26 +273,6 @@ function interactive_setup {
275 273
   clear
276 274
 }
277 275
 
278
-while [[ $# > 1 ]]
279
-do
280
-key="$1"
281
-
282
-case $key in
283
-    -h|--help)
284
-    show_help
285
-    ;;
286
-    # username within /home
287
-    -u|--user)
288
-    shift
289
-    MY_USERNAME="$1"
290
-    ;;
291
-    *)
292
-    # unknown option
293
-    ;;
294
-esac
295
-shift
296
-done
297
-
298 276
 get_website_settings
299 277
 get_imap_settings
300 278
 get_ssh_settings