diff options
author | mtm <mtm@FreeBSD.org> | 2004-02-07 07:10:25 +0000 |
---|---|---|
committer | mtm <mtm@FreeBSD.org> | 2004-02-07 07:10:25 +0000 |
commit | f602b09c02b688e10372c8a81d07e4ea1b712685 (patch) | |
tree | 140daa9d78409042a4e131c65f4a96844d8b5542 /etc | |
parent | fe7c8eefc3547f53401867e00dfc83a66bb130b7 (diff) | |
download | FreeBSD-src-f602b09c02b688e10372c8a81d07e4ea1b712685.zip FreeBSD-src-f602b09c02b688e10372c8a81d07e4ea1b712685.tar.gz |
Now that devfs is mandatory, there is no need to muck around
with tty/pty permissions.
Noticed by: brooks
OKed: phk
Diffstat (limited to 'etc')
-rwxr-xr-x | etc/rc.d/ttys | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/etc/rc.d/ttys b/etc/rc.d/ttys deleted file mode 100755 index acf6804..0000000 --- a/etc/rc.d/ttys +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/sh -# -# $NetBSD: ttys,v 1.1.1.1 2000/03/10 11:53:24 lukem Exp $ -# $FreeBSD$ -# - -# PROVIDE: tty -# REQUIRE: root mountcritremote -# BEFORE: SERVERS -# KEYWORD: FreeBSD - -. /etc/rc.subr - -name="ttyflags" -start_cmd="ttyflags_start" -stop_cmd=":" - -ttyflags_start() -{ - # Whack the pty perms back into shape. - # XXX: there may be more ptys than this; maybe use - # sysctl to find out how many? - # - if ls /dev/tty[pqrsPQRS]* > /dev/null 2>&1; then - chflags 0 /dev/tty[pqrsPQRS]* - chmod 666 /dev/tty[pqrsPQRS]* - chown root:wheel /dev/tty[pqrsPQRS]* - fi -} - -load_rc_config $name -run_rc_command "$1" |