summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2014-09-03 14:59:11 +0200
committerJustus Winter <4winter@informatik.uni-hamburg.de>2014-09-03 14:59:11 +0200
commitc85c7539901542b58b8107425bf9f75617560c18 (patch)
treebd4d70c336b2df93509585b0a3dd808d212edb44
parent354cf73562f9038298c3be0e7a163c74cbd10ccb (diff)
drop rc.patch
-rw-r--r--debian/patches/rc.patch91
-rw-r--r--debian/patches/series1
2 files changed, 0 insertions, 92 deletions
diff --git a/debian/patches/rc.patch b/debian/patches/rc.patch
deleted file mode 100644
index 964662c7..00000000
--- a/debian/patches/rc.patch
+++ /dev/null
@@ -1,91 +0,0 @@
-More debianish rc scripts
----
- daemons/rc.sh | 43 ++++++++++++++++++++++++++++++++-----------
- 1 file changed, 32 insertions(+), 11 deletions(-)
-
---- a/daemons/rc.sh
-+++ b/daemons/rc.sh
-@@ -19,14 +19,17 @@ then
- echo Automatic boot in progress...
- date
-
-- /sbin/fsck --preen --writable
-+ fsysopts / --update --readonly
-+ /sbin/fsck -p -A
-
- case $? in
- # Successful completion
- 0)
-+ fsysopts / --update --writable
- ;;
- # Filesystem modified (but ok now)
- 1)
-+ fsysopts / --update --writable
- ;;
- # Filesystem modified, filesystem should be restarted
- # Ideally we would only restart the filesystem
-@@ -85,12 +88,26 @@ if test -d /tmp; then
-
- fi
- if test -d /var/run; then
-- (cd /var/run && { rm -rf -- *; cp /dev/null utmp; chmod 644 utmp; })
-+ (cd /var/run && {
-+ find . ! -type d ! -name utmp ! -name innd.pid \
-+ -exec rm -f -- {} \;
-+ cp /dev/null utmp
-+ if grep -q ^utmp: /etc/group
-+ then
-+ chmod 664 utmp
-+ chgrp utmp utmp
-+ fi; })
- fi
- echo done
-
--# This file must exist for e2fsck to work. XXX
--touch /var/run/mtab
-+# See whether procfs is set up
-+if ! test -e /proc/cmdline ; then
-+ settrans -c /proc /hurd/procfs --compatible
-+fi
-+
-+# This file must exist for e2fsck to work.
-+ln -s /proc/mounts /var/run/mtab
-+ln -sf /proc/mounts /etc/mtab
-
- #echo -n restoring pty permissions...
- #chmod 666 /dev/tty[pqrs]*
-@@ -104,15 +120,25 @@ touch /var/run/mtab
-
- chmod 664 /etc/motd
-
--echo -n starting daemons:
--
--/sbin/syslogd && echo -n ' syslogd'
--/sbin/inetd && echo -n ' inetd'
--
--if test -x /sbin/sendmail -a -r /etc/sendmail.cf; then
-- /sbin/sendmail -bd -q30m && echo -n ' sendmail'
--fi
-+(
-+ trap ":" INT QUIT TSTP
-
--echo .
-+ if [ -d /etc/rc.boot ]
-+ then
-+ for i in /etc/rc.boot/S*
-+ do
-+ [ ! -f $i ] && continue
-+ $i start
-+ done
-+ fi
-+ if [ -d /etc/rc2.d ]
-+ then
-+ for i in /etc/rc2.d/S*
-+ do
-+ [ ! -f $i ] && continue
-+ $i start
-+ done
-+ fi
-+)
-
- date
diff --git a/debian/patches/series b/debian/patches/series
index 7b5dce8f..7cdc95dd 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -11,7 +11,6 @@ libexec-splitinit.patch
diskfs_no_inherit_dir_group.patch
makedev.diff
pfinet_dhcp.patch
-rc.patch
startup-usr-support.patch
tmp_exec_startup.patch
uptime_w_path_fix.patch