| Left: | ||
| Right: |
| OLD | NEW |
|---|---|
| (Empty) | |
| 1 #!/bin/sh | |
|
mathias
2018/03/27 14:46:52
This script is either horribly implemented or poin
f.lopez
2018/03/27 19:29:50
Acknowledged.
| |
| 2 # Script: /usr/local/bin/wrapper.sh | |
| 3 #command="$SSH_ORIGINAL_COMMAND"; shift | |
| 4 set $SSH_ORIGINAL_COMMAND | |
| 5 command="$1"; shift | |
| 6 case "$command" in | |
| 7 "uname") | |
| 8 /home/<%= scope.lookupvar("adblockplus::web::static::deploy_user") %>/bi n/own-uname | |
| 9 ;; | |
| 10 *) | |
| 11 echo "Sorry. Only these commands are available to you:" | |
| 12 echo "uname" | |
| 13 exit 1 | |
| 14 ;; | |
| 15 esac | |
| OLD | NEW |