#
# ident "@(#)minor_perm 1.9 93/10/31 Copyright 1992 SMI"
#
# 'sed' class script to add entries for X.25 drivers to /etc/minor_perm
#
# Jan 6, 1993: Shouldn't have to deal with 'zsh' entries here.  Remove this
# when the OS has been fixed.

!install
# Remove any previous entries from the file
/^zsh:/d
/^clone:zsh/d
/^clone:x25/d
/^clone:x25sock/d
/^clone:lapb/d
/^lapb:/d
/^xty:/d
/^ixe:/d
/^wloop:/d
# Add the needed entries to the end of the file
$i\
zsh:* 0666 root sys\
clone:zsh 0666 root sys\
clone:x25 0666 root sys\
clone:x25sock 0666 root sys\
clone:lapb 0666 root sys\
#lapb:* 0666 root sys\
ixe:* 0666 root sys\
xty:* 0666 root sys\
wloop:* 0666 root sys

!remove
# Remove entries from file
#  (but do not remove the zsh entries!)
/^clone:x25/d
/^clone:x25sock/d
/^clone:lapb/d
/^lapb:/d
/^xty:/d
/^ixe:/d
/^wloop:/d
