--- remote-tty-4.0.orig/console.sh
+++ remote-tty-4.0/console.sh
@@ -31,16 +31,16 @@
host=$1
[ -z "$host" ] && {
- ls DESTPATH/sock
+ ls /var/run/remote-tty/sock
exit
}
-if [ -s DESTPATH/opt/${host}.cons ]; then
- options=`cat DESTPATH/opt/${host}.cons`
-elif [ -s DESTPATH/opt/DEFAULT.cons ]; then
- options=`cat DESTPATH/opt/DEFAULT.cons`
+if [ -s /etc/remote-tty/opt/${host}.cons ]; then
+ options=`cat /etc/remote-tty/opt/${host}.cons`
+elif [ -s /etc/remote-tty/opt/DEFAULT.cons ]; then
+ options=`cat /etc/remote-tty/opt/DEFAULT.cons`
else
options="$default_options"
fi
-exec DESTPATH/bin/rtty $options $cmdopts DESTPATH/sock/$host
+exec /usr/bin/remote-tty $options $cmdopts /var/run/remote-tty/sock/$host