Initial commit for a number of oplinux and oplinux-uclibc specific configs for base...
authorStelios Koroneos <skoroneos@digital-opsis.com>
Mon, 19 Mar 2007 08:28:53 +0000 (08:28 +0000)
committerStelios Koroneos <skoroneos@digital-opsis.com>
Mon, 19 Mar 2007 08:28:53 +0000 (08:28 +0000)
initscripts

26 files changed:
packages/base-files/base-files/oplinux-uclibc/.mtn2git_empty [new file with mode: 0644]
packages/base-files/base-files/oplinux-uclibc/issue [new file with mode: 0644]
packages/base-files/base-files/oplinux-uclibc/issue.net [new file with mode: 0644]
packages/base-files/base-files/oplinux-uclibc/motd [new file with mode: 0644]
packages/base-files/base-files/oplinux/.mtn2git_empty [new file with mode: 0644]
packages/base-files/base-files/oplinux/issue [new file with mode: 0644]
packages/base-files/base-files/oplinux/issue.net [new file with mode: 0644]
packages/base-files/base-files/oplinux/motd [new file with mode: 0644]
packages/base-files/base-files_3.0.14.bb
packages/initscripts/initscripts-1.0/oplinux-uclibc/.mtn2git_empty [new file with mode: 0644]
packages/initscripts/initscripts-1.0/oplinux-uclibc/checkroot.sh [new file with mode: 0755]
packages/initscripts/initscripts-1.0/oplinux/.mtn2git_empty [new file with mode: 0644]
packages/initscripts/initscripts-1.0/oplinux/checkroot.sh [new file with mode: 0755]
packages/initscripts/initscripts_1.0.bb
packages/netbase/netbase/oplinux-uclibc/.mtn2git_empty [new file with mode: 0644]
packages/netbase/netbase/oplinux-uclibc/interfaces [new file with mode: 0644]
packages/netbase/netbase/oplinux-uclibc/options [new file with mode: 0644]
packages/netbase/netbase/oplinux/.mtn2git_empty [new file with mode: 0644]
packages/netbase/netbase/oplinux/interfaces [new file with mode: 0644]
packages/netbase/netbase/oplinux/options [new file with mode: 0644]
packages/netbase/netbase_4.21.bb
packages/sysvinit/sysvinit/oplinux-uclibc/.mtn2git_empty [new file with mode: 0644]
packages/sysvinit/sysvinit/oplinux-uclibc/inittab [new file with mode: 0644]
packages/sysvinit/sysvinit/oplinux/.mtn2git_empty [new file with mode: 0644]
packages/sysvinit/sysvinit/oplinux/inittab [new file with mode: 0644]
packages/sysvinit/sysvinit_2.86.bb

diff --git a/packages/base-files/base-files/oplinux-uclibc/.mtn2git_empty b/packages/base-files/base-files/oplinux-uclibc/.mtn2git_empty
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/packages/base-files/base-files/oplinux-uclibc/issue b/packages/base-files/base-files/oplinux-uclibc/issue
new file mode 100644 (file)
index 0000000..9d0ef9c
--- /dev/null
@@ -0,0 +1,14 @@
+.-------.-------.  .---.  .---.          .---.  .---.
+|       |   __  |  |   |  '---'           \   \/   /
+|   |   |       |  |   |  .---.-----.--.--.\      /
+|   |   |   .---'  |   '--|   |     |  |  |/      \
+|       |   |      |      |   |  |  |     |   /\   \
+'-------'---'      '------'---'--'--'-----'--'  '---'
+=====================================================
+         .--.--.-----.--. .--.-----.-----.
+         |  |  |   __|  | |  |  -- |   __|
+         |     |     |  '-|  |  -- |     |
+         '-----'-----'----'--'-----'-----'
+
+The OPLinux-uclibc distribution  \l
+
diff --git a/packages/base-files/base-files/oplinux-uclibc/issue.net b/packages/base-files/base-files/oplinux-uclibc/issue.net
new file mode 100644 (file)
index 0000000..b74869d
--- /dev/null
@@ -0,0 +1,16 @@
+.-------.-------.  .---.  .---.          .---.  .---.
+|       |   __  |  |   |  '---'           \   \/   /
+|   |   |       |  |   |  .---.-----.--.--.\      /
+|   |   |   .---'  |   '--|   |     |  |  |/      \
+|       |   |      |      |   |  |  |     |   /\   \
+'-------'---'      '------'---'--'--'-----'--'  '---'
+=====================================================
+         .--.--.-----.--. .--.-----.-----.
+         |  |  |   __|  | |  |  -- |   __|
+         |     |     |  '-|  |  -- |     |
+         '-----'-----'----'--'-----'-----'
+
+
+The OPLinux-uclibc distribution %h
+
+
diff --git a/packages/base-files/base-files/oplinux-uclibc/motd b/packages/base-files/base-files/oplinux-uclibc/motd
new file mode 100644 (file)
index 0000000..5fad7d5
--- /dev/null
@@ -0,0 +1,12 @@
+.-------.-------.  .---.  .---.          .---.  .---.
+|       |   __  |  |   |  '---'           \   \/   / 
+|   |   |       |  |   |  .---.-----.--.--.\      /  
+|   |   |   .---'  |   '--|   |     |  |  |/      \  
+|       |   |      |      |   |  |  |     |   /\   \ 
+'-------'---'      '------'---'--'--'-----'--'  '---'
+=====================================================
+         .--.--.-----.--. .--.-----.-----.
+         |  |  |   __|  | |  |  -- |   __|
+         |     |     |  '-|  |  -- |     |
+         '-----'-----'----'--'-----'-----'
+
diff --git a/packages/base-files/base-files/oplinux/.mtn2git_empty b/packages/base-files/base-files/oplinux/.mtn2git_empty
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/packages/base-files/base-files/oplinux/issue b/packages/base-files/base-files/oplinux/issue
new file mode 100644 (file)
index 0000000..9b9c437
--- /dev/null
@@ -0,0 +1,10 @@
+.-------.-------.  .---.  .---.          .---.  .---.
+|       |   __  |  |   |  '---'           \   \/   /
+|   |   |       |  |   |  .---.-----.--.--.\      /
+|   |   |   .---'  |   '--|   |     |  |  |/      \
+|       |   |      |      |   |  |  |     |   /\   \
+'-------'---'      '------'---'--'--'-----'--'  '---'
+=====================================================
+
+The OPLinux distribution  \l
+
diff --git a/packages/base-files/base-files/oplinux/issue.net b/packages/base-files/base-files/oplinux/issue.net
new file mode 100644 (file)
index 0000000..93a6f8a
--- /dev/null
@@ -0,0 +1,11 @@
+.-------.-------.  .---.  .---.          .---.  .---.
+|       |   __  |  |   |  '---'           \   \/   /
+|   |   |       |  |   |  .---.-----.--.--.\      /
+|   |   |   .---'  |   '--|   |     |  |  |/      \
+|       |   |      |      |   |  |  |     |   /\   \
+'-------'---'      '------'---'--'--'-----'--'  '---'
+=====================================================
+
+The OPLinux distribution %h
+
+
diff --git a/packages/base-files/base-files/oplinux/motd b/packages/base-files/base-files/oplinux/motd
new file mode 100644 (file)
index 0000000..10e458b
--- /dev/null
@@ -0,0 +1,8 @@
+.-------.-------.  .---.  .---.          .---.  .---.
+|       |   __  |  |   |  '---'           \   \/   / 
+|   |   |       |  |   |  .---.-----.--.--.\      /  
+|   |   |   .---'  |   '--|   |     |  |  |/      \  
+|       |   |      |      |   |  |  |     |   /\   \ 
+'-------'---'      '------'---'--'--'-----'--'  '---'
+=====================================================
+
index 0f80f17..1cf58d7 100644 (file)
@@ -1,7 +1,7 @@
 DESCRIPTION = "Miscellaneous files for the base system."
 SECTION = "base"
 PRIORITY = "required"
-PR = "r62"
+PR = "r63"
 LICENSE = "GPL"
 
 SRC_URI = " \
diff --git a/packages/initscripts/initscripts-1.0/oplinux-uclibc/.mtn2git_empty b/packages/initscripts/initscripts-1.0/oplinux-uclibc/.mtn2git_empty
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/packages/initscripts/initscripts-1.0/oplinux-uclibc/checkroot.sh b/packages/initscripts/initscripts-1.0/oplinux-uclibc/checkroot.sh
new file mode 100755 (executable)
index 0000000..e5fc6ed
--- /dev/null
@@ -0,0 +1,201 @@
+#
+# checkroot.sh Check to root filesystem.
+#
+# Version:     @(#)checkroot.sh  2.84  25-Jan-2002  miquels@cistron.nl
+#
+
+. /etc/default/rcS
+
+#
+# Set SULOGIN in /etc/default/rcS to yes if you want a sulogin to be spawned
+# from this script *before anything else* with a timeout, like SCO does.
+#
+test "$SULOGIN" = yes && sulogin -t 30 $CONSOLE
+
+#
+# Ensure that bdflush (update) is running before any major I/O is
+# performed (the following fsck is a good example of such activity :).
+#
+test -x /sbin/update && update
+
+#
+# Read /etc/fstab.
+#
+exec 9>&0 </etc/fstab
+rootmode=rw
+rootopts=rw
+test "$ENABLE_ROOTFS_FSCK" = yes && rootcheck="yes" || rootcheck="no"
+swap_on_md=no
+devfs=
+while read fs mnt type opts dump pass junk
+do
+       case "$fs" in
+               ""|\#*)
+                       continue;
+                       ;;
+               /dev/md*)
+                       # Swap on md device.
+                       test "$type" = swap && swap_on_md=yes
+                       ;;
+               /dev/*)
+                       ;;
+               *)
+                       # Might be a swapfile.
+                       test "$type" = swap && swap_on_md=yes
+                       ;;
+       esac
+       
+       test "$type" = devfs && devfs="$fs"
+
+       # Currently we do not care about the other entries
+       if test "$mnt" = "/"
+       then
+               #echo "[$fs] [$mnt] [$type] [$opts] [$dump] [$pass] [$junk]"
+
+               rootopts="$opts"                
+               roottype="$type"
+
+               #The "spinner" is broken on busybox sh  
+               TERM=dumb
+                       
+               test "$pass" = 0 -o "$pass" = "" && rootcheck=no
+               
+               # Enable fsck for ext2 and ext3 rootfs, disable for everything else                             
+               case "$type" in
+               ext2|ext3)      rootcheck=yes;;
+               *)              rootcheck=no;;
+               esac
+               
+               if test "$rootcheck" = yes
+               then
+                       if ! test -x "/sbin/fsck.${roottype}"
+                       then
+                               echo -e "\n * * * WARNING: /sbin/fsck.${roottype} is missing! * * *\n"
+                               rootcheck=no
+                       fi
+               fi
+               
+               case "$opts" in
+                       ro|ro,*|*,ro|*,ro,*)
+                               rootmode=ro
+                               ;;
+               esac
+       fi
+done
+exec 0>&9 9>&-
+
+#
+# Activate the swap device(s) in /etc/fstab. This needs to be done
+# before fsck, since fsck can be quite memory-hungry.
+#
+doswap=no
+test -d /proc/1 || mount -n /proc
+case "`uname -r`" in
+       2.[0123].*)
+               if test $swap_on_md = yes && grep -qs resync /proc/mdstat
+               then
+                       test "$VERBOSE" != no && echo "Not activating swap - RAID array resyncing"
+               else
+                       doswap=yes
+               fi
+               ;;
+       *)
+               doswap=yes
+               ;;
+esac
+if test $doswap = yes
+then
+       test "$VERBOSE" != no && echo "Activating swap"
+       swapon -a 2> /dev/null
+fi
+
+#
+# Check the root filesystem.
+#
+if test -f /fastboot || test $rootcheck = no
+then
+  test $rootcheck = yes && echo "Fast boot, no filesystem check"
+else
+  #
+  # Ensure that root is quiescent and read-only before fsck'ing.
+  #
+  mount -n -o remount,ro /
+  if test $? = 0
+  then
+    if test -f /forcefsck
+    then
+       force="-f"
+    else
+       force=""
+    fi
+    if test "$FSCKFIX" = yes
+    then
+       fix="-y"
+    else
+       fix="-a"
+    fi
+    spinner="-C"
+    case "$TERM" in
+        dumb|network|unknown|"") spinner="" ;;
+    esac
+    test `uname -m` = s390 && spinner="" # This should go away
+    test "$VERBOSE" != no && echo "Checking root filesystem..."
+    fsck $spinner $force $fix /
+    #
+    # If there was a failure, drop into single-user mode.
+    #
+    # NOTE: "failure" is defined as exiting with a return code of
+    # 2 or larger.  A return code of 1 indicates that filesystem
+    # errors were corrected but that the boot may proceed.
+    #
+    if test "$?" -gt 1
+    then
+      # Surprise! Re-directing from a HERE document (as in
+      # "cat << EOF") won't work, because the root is read-only.
+      echo
+      echo "fsck failed.  Please repair manually and reboot.  Please note"
+      echo "that the root filesystem is currently mounted read-only.  To"
+      echo "remount it read-write:"
+      echo
+      echo "   # mount -n -o remount,rw /"
+      echo
+      echo "CONTROL-D will exit from this shell and REBOOT the system."
+      echo
+      # Start a single user shell on the console
+      /sbin/sulogin $CONSOLE
+      reboot -f
+    fi
+  else
+    echo "*** ERROR!  Cannot fsck root fs because it is not mounted read-only!"
+    echo
+  fi
+fi
+
+#
+#      If the root filesystem was not marked as read-only in /etc/fstab,
+#      remount the rootfs rw but do not try to change mtab because it
+#      is on a ro fs until the remount succeeded. Then clean up old mtabs
+#      and finally write the new mtab.
+#      This part is only needed if the rootfs was mounted ro.
+#
+
+if [ $(grep "/dev/root" /proc/mounts | awk '{print $4}') = rw ]; then
+        exit 0
+fi
+
+
+echo "Remounting root file system..."
+mount -n -o remount,$rootmode /
+if test "$rootmode" = rw
+then
+       if test ! -L /etc/mtab
+       then
+               rm -f /etc/mtab~ /etc/nologin
+               : > /etc/mtab
+       fi
+       mount -f -o remount /
+       mount -f /proc
+       test "$devfs" && grep -q '^devfs /dev' /proc/mounts && mount -f "$devfs"
+fi
+
+: exit 0
diff --git a/packages/initscripts/initscripts-1.0/oplinux/.mtn2git_empty b/packages/initscripts/initscripts-1.0/oplinux/.mtn2git_empty
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/packages/initscripts/initscripts-1.0/oplinux/checkroot.sh b/packages/initscripts/initscripts-1.0/oplinux/checkroot.sh
new file mode 100755 (executable)
index 0000000..e5fc6ed
--- /dev/null
@@ -0,0 +1,201 @@
+#
+# checkroot.sh Check to root filesystem.
+#
+# Version:     @(#)checkroot.sh  2.84  25-Jan-2002  miquels@cistron.nl
+#
+
+. /etc/default/rcS
+
+#
+# Set SULOGIN in /etc/default/rcS to yes if you want a sulogin to be spawned
+# from this script *before anything else* with a timeout, like SCO does.
+#
+test "$SULOGIN" = yes && sulogin -t 30 $CONSOLE
+
+#
+# Ensure that bdflush (update) is running before any major I/O is
+# performed (the following fsck is a good example of such activity :).
+#
+test -x /sbin/update && update
+
+#
+# Read /etc/fstab.
+#
+exec 9>&0 </etc/fstab
+rootmode=rw
+rootopts=rw
+test "$ENABLE_ROOTFS_FSCK" = yes && rootcheck="yes" || rootcheck="no"
+swap_on_md=no
+devfs=
+while read fs mnt type opts dump pass junk
+do
+       case "$fs" in
+               ""|\#*)
+                       continue;
+                       ;;
+               /dev/md*)
+                       # Swap on md device.
+                       test "$type" = swap && swap_on_md=yes
+                       ;;
+               /dev/*)
+                       ;;
+               *)
+                       # Might be a swapfile.
+                       test "$type" = swap && swap_on_md=yes
+                       ;;
+       esac
+       
+       test "$type" = devfs && devfs="$fs"
+
+       # Currently we do not care about the other entries
+       if test "$mnt" = "/"
+       then
+               #echo "[$fs] [$mnt] [$type] [$opts] [$dump] [$pass] [$junk]"
+
+               rootopts="$opts"                
+               roottype="$type"
+
+               #The "spinner" is broken on busybox sh  
+               TERM=dumb
+                       
+               test "$pass" = 0 -o "$pass" = "" && rootcheck=no
+               
+               # Enable fsck for ext2 and ext3 rootfs, disable for everything else                             
+               case "$type" in
+               ext2|ext3)      rootcheck=yes;;
+               *)              rootcheck=no;;
+               esac
+               
+               if test "$rootcheck" = yes
+               then
+                       if ! test -x "/sbin/fsck.${roottype}"
+                       then
+                               echo -e "\n * * * WARNING: /sbin/fsck.${roottype} is missing! * * *\n"
+                               rootcheck=no
+                       fi
+               fi
+               
+               case "$opts" in
+                       ro|ro,*|*,ro|*,ro,*)
+                               rootmode=ro
+                               ;;
+               esac
+       fi
+done
+exec 0>&9 9>&-
+
+#
+# Activate the swap device(s) in /etc/fstab. This needs to be done
+# before fsck, since fsck can be quite memory-hungry.
+#
+doswap=no
+test -d /proc/1 || mount -n /proc
+case "`uname -r`" in
+       2.[0123].*)
+               if test $swap_on_md = yes && grep -qs resync /proc/mdstat
+               then
+                       test "$VERBOSE" != no && echo "Not activating swap - RAID array resyncing"
+               else
+                       doswap=yes
+               fi
+               ;;
+       *)
+               doswap=yes
+               ;;
+esac
+if test $doswap = yes
+then
+       test "$VERBOSE" != no && echo "Activating swap"
+       swapon -a 2> /dev/null
+fi
+
+#
+# Check the root filesystem.
+#
+if test -f /fastboot || test $rootcheck = no
+then
+  test $rootcheck = yes && echo "Fast boot, no filesystem check"
+else
+  #
+  # Ensure that root is quiescent and read-only before fsck'ing.
+  #
+  mount -n -o remount,ro /
+  if test $? = 0
+  then
+    if test -f /forcefsck
+    then
+       force="-f"
+    else
+       force=""
+    fi
+    if test "$FSCKFIX" = yes
+    then
+       fix="-y"
+    else
+       fix="-a"
+    fi
+    spinner="-C"
+    case "$TERM" in
+        dumb|network|unknown|"") spinner="" ;;
+    esac
+    test `uname -m` = s390 && spinner="" # This should go away
+    test "$VERBOSE" != no && echo "Checking root filesystem..."
+    fsck $spinner $force $fix /
+    #
+    # If there was a failure, drop into single-user mode.
+    #
+    # NOTE: "failure" is defined as exiting with a return code of
+    # 2 or larger.  A return code of 1 indicates that filesystem
+    # errors were corrected but that the boot may proceed.
+    #
+    if test "$?" -gt 1
+    then
+      # Surprise! Re-directing from a HERE document (as in
+      # "cat << EOF") won't work, because the root is read-only.
+      echo
+      echo "fsck failed.  Please repair manually and reboot.  Please note"
+      echo "that the root filesystem is currently mounted read-only.  To"
+      echo "remount it read-write:"
+      echo
+      echo "   # mount -n -o remount,rw /"
+      echo
+      echo "CONTROL-D will exit from this shell and REBOOT the system."
+      echo
+      # Start a single user shell on the console
+      /sbin/sulogin $CONSOLE
+      reboot -f
+    fi
+  else
+    echo "*** ERROR!  Cannot fsck root fs because it is not mounted read-only!"
+    echo
+  fi
+fi
+
+#
+#      If the root filesystem was not marked as read-only in /etc/fstab,
+#      remount the rootfs rw but do not try to change mtab because it
+#      is on a ro fs until the remount succeeded. Then clean up old mtabs
+#      and finally write the new mtab.
+#      This part is only needed if the rootfs was mounted ro.
+#
+
+if [ $(grep "/dev/root" /proc/mounts | awk '{print $4}') = rw ]; then
+        exit 0
+fi
+
+
+echo "Remounting root file system..."
+mount -n -o remount,$rootmode /
+if test "$rootmode" = rw
+then
+       if test ! -L /etc/mtab
+       then
+               rm -f /etc/mtab~ /etc/nologin
+               : > /etc/mtab
+       fi
+       mount -f -o remount /
+       mount -f /proc
+       test "$devfs" && grep -q '^devfs /dev' /proc/mounts && mount -f "$devfs"
+fi
+
+: exit 0
index 06a6017..33cbf9c 100644 (file)
@@ -5,7 +5,7 @@ DEPENDS = "makedevs"
 DEPENDS_openzaurus = "makedevs virtual/kernel"
 RDEPENDS = "makedevs"
 LICENSE = "GPL"
-PR = "r86"
+PR = "r87"
 
 SRC_URI = "file://halt \
            file://ramdisk \
diff --git a/packages/netbase/netbase/oplinux-uclibc/.mtn2git_empty b/packages/netbase/netbase/oplinux-uclibc/.mtn2git_empty
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/packages/netbase/netbase/oplinux-uclibc/interfaces b/packages/netbase/netbase/oplinux-uclibc/interfaces
new file mode 100644 (file)
index 0000000..673618f
--- /dev/null
@@ -0,0 +1,10 @@
+# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
+# The loopback interface
+auto lo
+iface lo inet loopback
+
+# Ethernet
+auto eth0
+iface eth0 inet dhcp
+
diff --git a/packages/netbase/netbase/oplinux-uclibc/options b/packages/netbase/netbase/oplinux-uclibc/options
new file mode 100644 (file)
index 0000000..14380f4
--- /dev/null
@@ -0,0 +1,3 @@
+ip_forward=yes
+spoofprotect=yes
+syncookies=no
diff --git a/packages/netbase/netbase/oplinux/.mtn2git_empty b/packages/netbase/netbase/oplinux/.mtn2git_empty
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/packages/netbase/netbase/oplinux/interfaces b/packages/netbase/netbase/oplinux/interfaces
new file mode 100644 (file)
index 0000000..673618f
--- /dev/null
@@ -0,0 +1,10 @@
+# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
+# The loopback interface
+auto lo
+iface lo inet loopback
+
+# Ethernet
+auto eth0
+iface eth0 inet dhcp
+
diff --git a/packages/netbase/netbase/oplinux/options b/packages/netbase/netbase/oplinux/options
new file mode 100644 (file)
index 0000000..14380f4
--- /dev/null
@@ -0,0 +1,3 @@
+ip_forward=yes
+spoofprotect=yes
+syncookies=no
index f97d898..53c9f3d 100644 (file)
@@ -2,7 +2,7 @@ DESCRIPTION = "This package provides the necessary \
 infrastructure for basic TCP/IP based networking."
 SECTION = "base"
 LICENSE = "GPL"
-PR = "r15"
+PR = "r16"
 
 inherit update-rc.d
 
diff --git a/packages/sysvinit/sysvinit/oplinux-uclibc/.mtn2git_empty b/packages/sysvinit/sysvinit/oplinux-uclibc/.mtn2git_empty
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/packages/sysvinit/sysvinit/oplinux-uclibc/inittab b/packages/sysvinit/sysvinit/oplinux-uclibc/inittab
new file mode 100644 (file)
index 0000000..1bb7c45
--- /dev/null
@@ -0,0 +1,39 @@
+# /etc/inittab: init(8) configuration.
+# $Id: inittab,v 1.91 2002/01/25 13:35:21 miquels Exp $
+
+# The default runlevel.
+id:2:initdefault:
+
+# Boot-time system configuration/initialization script.
+# This is run first except when booting in emergency (-b) mode.
+si::sysinit:/etc/init.d/rcS
+
+# What to do in single-user mode.
+~~:S:wait:/sbin/sulogin
+
+# /etc/init.d executes the S and K scripts upon change
+# of runlevel.
+#
+# Runlevel 0 is halt.
+# Runlevel 1 is single-user.
+# Runlevels 2-5 are multi-user.
+# Runlevel 6 is reboot.
+
+l0:0:wait:/etc/init.d/rc 0
+l1:1:wait:/etc/init.d/rc 1
+l2:2:wait:/etc/init.d/rc 2
+l3:3:wait:/etc/init.d/rc 3
+l4:4:wait:/etc/init.d/rc 4
+l5:5:wait:/etc/init.d/rc 5
+l6:6:wait:/etc/init.d/rc 6
+# Normally not reached, but fallthrough in case of emergency.
+z6:6:respawn:/sbin/sulogin
+
+
+1:2345:respawn:/sbin/getty 115200 tty1
+2:23:respawn:/sbin/getty 115200 tty2
+3:23:respawn:/sbin/getty 115200 tty3
+4:23:respawn:/sbin/getty 115200 tty4
+5:23:respawn:/sbin/getty 115200 tty5
+6:23:respawn:/sbin/getty 115200 tty6
+
diff --git a/packages/sysvinit/sysvinit/oplinux/.mtn2git_empty b/packages/sysvinit/sysvinit/oplinux/.mtn2git_empty
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/packages/sysvinit/sysvinit/oplinux/inittab b/packages/sysvinit/sysvinit/oplinux/inittab
new file mode 100644 (file)
index 0000000..1bb7c45
--- /dev/null
@@ -0,0 +1,39 @@
+# /etc/inittab: init(8) configuration.
+# $Id: inittab,v 1.91 2002/01/25 13:35:21 miquels Exp $
+
+# The default runlevel.
+id:2:initdefault:
+
+# Boot-time system configuration/initialization script.
+# This is run first except when booting in emergency (-b) mode.
+si::sysinit:/etc/init.d/rcS
+
+# What to do in single-user mode.
+~~:S:wait:/sbin/sulogin
+
+# /etc/init.d executes the S and K scripts upon change
+# of runlevel.
+#
+# Runlevel 0 is halt.
+# Runlevel 1 is single-user.
+# Runlevels 2-5 are multi-user.
+# Runlevel 6 is reboot.
+
+l0:0:wait:/etc/init.d/rc 0
+l1:1:wait:/etc/init.d/rc 1
+l2:2:wait:/etc/init.d/rc 2
+l3:3:wait:/etc/init.d/rc 3
+l4:4:wait:/etc/init.d/rc 4
+l5:5:wait:/etc/init.d/rc 5
+l6:6:wait:/etc/init.d/rc 6
+# Normally not reached, but fallthrough in case of emergency.
+z6:6:respawn:/sbin/sulogin
+
+
+1:2345:respawn:/sbin/getty 115200 tty1
+2:23:respawn:/sbin/getty 115200 tty2
+3:23:respawn:/sbin/getty 115200 tty3
+4:23:respawn:/sbin/getty 115200 tty4
+5:23:respawn:/sbin/getty 115200 tty5
+6:23:respawn:/sbin/getty 115200 tty6
+
index 1a2d79c..a4c4ff8 100644 (file)
@@ -2,7 +2,7 @@ DESCRIPTION = "System-V like init."
 SECTION = "base"
 LICENSE = "GPL"
 HOMEPAGE = "http://freshmeat.net/projects/sysvinit/"
-PR = "r32"
+PR = "r33"
 
 # USE_VT and SERIAL_CONSOLE are generally defined by the MACHINE .conf.
 # Set PACKAGE_ARCH appropriately.