Rev 3 | Rev 5 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3 | Rev 4 | ||
---|---|---|---|
Line 17... | Line 17... | ||
17 | IS_BATCHMODE=0 |
17 | IS_BATCHMODE=0 |
18 | fi |
18 | fi |
19 | 19 | ||
20 | # Read in the system identifier |
20 | # Read in the system identifier |
21 | if [ $IS_BATCHMODE -eq 0 ]; then |
21 | if [ $IS_BATCHMODE -eq 0 ]; then |
22 | echo "Terminal Stackman 2.3" |
22 | echo "Terminal Stackman 2.4" |
23 | echo "(C) 2013-2017 ViaThinkSoft" |
23 | echo "(C) 2013-2019 ViaThinkSoft" |
24 | echo "" |
24 | echo "" |
25 | 25 | ||
26 | if [ -f ~/".autorun" ]; then |
26 | if [ -f ~/".autorun" ]; then |
27 | echo "Starting autorun script..." |
27 | echo "Starting autorun script..." |
28 | ~/".autorun" |
28 | ~/".autorun" |
Line 93... | Line 93... | ||
93 | # Log to journal |
93 | # Log to journal |
94 | echo "$inp" >> ~/.stam_history |
94 | echo "$inp" >> ~/.stam_history |
95 | if [ -f ~/.stam_history_mir ]; then |
95 | if [ -f ~/.stam_history_mir ]; then |
96 | echo "$inp" >> ~/.stam_history_mir |
96 | echo "$inp" >> ~/.stam_history_mir |
97 | fi |
97 | fi |
- | 98 | "$DIR"/weblog_add "$inp" |
|
98 | 99 | ||
99 | # Split command and (single combined) argument |
100 | # Split command and (single combined) argument |
100 | cmd=$( echo "$inp" | cut -d " " -f 1 ) |
101 | cmd=$( echo "$inp" | cut -d " " -f 1 ) |
101 | arg=$( echo "$inp" | cut -s -d " " -f 2- ) |
102 | arg=$( echo "$inp" | cut -s -d " " -f 2- ) |
102 | 103 |