packages: upstart/start-ttys.conf - strip /dev/ from TTY instance name
glen
glen at pld-linux.org
Mon May 10 18:31:20 CEST 2010
Author: glen Date: Mon May 10 16:31:20 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- strip /dev/ from TTY instance name
---- Files affected:
packages/upstart:
start-ttys.conf (1.2 -> 1.3)
---- Diffs:
================================================================
Index: packages/upstart/start-ttys.conf
diff -u packages/upstart/start-ttys.conf:1.2 packages/upstart/start-ttys.conf:1.3
--- packages/upstart/start-ttys.conf:1.2 Tue Apr 20 20:17:25 2010
+++ packages/upstart/start-ttys.conf Mon May 10 18:31:15 2010
@@ -12,6 +12,6 @@
fi
for tty in $(echo $ACTIVE_CONSOLES) ; do
[ "$RUNLEVEL" = "5" -a "$tty" = "$X_TTY" ] && continue
- initctl start tty TTY=$tty
+ initctl start tty TTY=${tty#/dev/}
done
end script
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/upstart/start-ttys.conf?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list