From 055cc20cfdbdd657ed10cb9767b56568371a961c Mon Sep 17 00:00:00 2001 From: jrtechs Date: Fri, 27 Apr 2018 11:49:04 -0400 Subject: [PATCH] Added sshfs mount commands I use to the commands file. --- src/commands | 12 +++++++++++- src/roosay.py | 4 +--- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/src/commands b/src/commands index 91d33f0..73eff86 100644 --- a/src/commands +++ b/src/commands @@ -9,4 +9,14 @@ screen -X -S [session # you want to kill] quit #ssh socks proxy -ssh -D 8123 -f -C -q -N sammy@example.com \ No newline at end of file +ssh -D 8123 -f -C -q -N sammy@example.com + +#!/bin/sh + +echo starting to mount + +sshfs -o allow_other jeff@192.168.1.2:/mnt/jeff/jeffery/ /home/jeff/media + +sshfs -o allow_other public@192.168.1.2:/mnt/jeff/public/ /home/jeff/publicDrive + +echo mount successful diff --git a/src/roosay.py b/src/roosay.py index 7d3a504..a6cb242 100644 --- a/src/roosay.py +++ b/src/roosay.py @@ -19,11 +19,9 @@ def main(): message += sys.argv[i] for line in sys.stdin: - message+= line.rstrip() - print(line) + message+= line message = " ".join(message.split()) - print(message) roo_say(message)