summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-04-07 05:36:42 +0000
committerMike Frysinger <vapier@gentoo.org>2011-04-07 05:36:42 +0000
commitd7379b9c288ec6779e857b032f1fa7e4d42630ca (patch)
tree0368504df25883cc0a849c906bf5bfb9a43ff655 /sys-apps/setserial
parentold (diff)
downloadgentoo-2-d7379b9c288ec6779e857b032f1fa7e4d42630ca.tar.gz
gentoo-2-d7379b9c288ec6779e857b032f1fa7e4d42630ca.tar.bz2
gentoo-2-d7379b9c288ec6779e857b032f1fa7e4d42630ca.zip
Drop old module loading #360453 by Robert Cernansky, and drop useless init.d depend -- all the files we need are in the rootfs.
(Portage version: 2.2.0_alpha28/cvs/Linux x86_64)
Diffstat (limited to 'sys-apps/setserial')
-rw-r--r--sys-apps/setserial/ChangeLog8
-rwxr-xr-xsys-apps/setserial/files/serial-2.17-r416
2 files changed, 8 insertions, 16 deletions
diff --git a/sys-apps/setserial/ChangeLog b/sys-apps/setserial/ChangeLog
index 48178d03f8d8..36201b89e857 100644
--- a/sys-apps/setserial/ChangeLog
+++ b/sys-apps/setserial/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-apps/setserial
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/setserial/ChangeLog,v 1.24 2010/10/08 02:16:31 leio Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/setserial/ChangeLog,v 1.25 2011/04/07 05:36:42 vapier Exp $
+
+ 07 Apr 2011; Mike Frysinger <vapier@gentoo.org> files/serial-2.17-r4:
+ Drop old module loading #360453 by Robert Cernansky, and drop useless init.d
+ depend -- all the files we need are in the rootfs.
08 Oct 2010; Mart Raudsepp <leio@gentoo.org> setserial-2.17-r3.ebuild:
Drop to ~mips
diff --git a/sys-apps/setserial/files/serial-2.17-r4 b/sys-apps/setserial/files/serial-2.17-r4
index 20214ff767cd..52d2243bc52f 100755
--- a/sys-apps/setserial/files/serial-2.17-r4
+++ b/sys-apps/setserial/files/serial-2.17-r4
@@ -1,20 +1,11 @@
#!/sbin/runscript
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/setserial/files/serial-2.17-r4,v 1.2 2008/01/18 22:54:44 robbat2 Exp $
-
-depend() {
- need localmount
-}
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/setserial/files/serial-2.17-r4,v 1.3 2011/04/07 05:36:42 vapier Exp $
start() {
[ ! -e /etc/serial.conf ] && return 0
- # load the module if need be
- if [ -e /proc/modules ] ; then
- modprobe -q serial
- fi
-
grep -v "^#\|^ \|^$\|^stty" /etc/serial.conf | while read device args
do
ebegin "Setting ${device} to $args"
@@ -30,6 +21,3 @@ start() {
return 0
}
-
-
-# vim:ts=4