summaryrefslogtreecommitdiff
path: root/beagle/debian-rfs/lib
diff options
context:
space:
mode:
Diffstat (limited to 'beagle/debian-rfs/lib')
-rw-r--r--beagle/debian-rfs/lib/init/bootclean.sh190
-rw-r--r--beagle/debian-rfs/lib/init/mount-functions.sh165
-rw-r--r--beagle/debian-rfs/lib/init/splash-functions-base93
-rw-r--r--beagle/debian-rfs/lib/init/swap-functions.sh28
-rw-r--r--beagle/debian-rfs/lib/init/usplash-fsck-functions.sh178
-rw-r--r--beagle/debian-rfs/lib/init/vars.sh39
-rwxr-xr-xbeagle/debian-rfs/lib/ld-2.11.2.sobin0 -> 122340 bytes
l---------beagle/debian-rfs/lib/ld-linux.so.31
-rw-r--r--beagle/debian-rfs/lib/libBrokenLocale-2.11.2.sobin0 -> 5636 bytes
l---------beagle/debian-rfs/lib/libBrokenLocale.so.11
-rw-r--r--beagle/debian-rfs/lib/libSegFault.sobin0 -> 9752 bytes
l---------beagle/debian-rfs/lib/libacl.so.11
-rw-r--r--beagle/debian-rfs/lib/libacl.so.1.1.0bin0 -> 25412 bytes
-rw-r--r--beagle/debian-rfs/lib/libanl-2.11.2.sobin0 -> 9960 bytes
l---------beagle/debian-rfs/lib/libanl.so.11
l---------beagle/debian-rfs/lib/libattr.so.11
-rw-r--r--beagle/debian-rfs/lib/libattr.so.1.1.0bin0 -> 14576 bytes
l---------beagle/debian-rfs/lib/libblkid.so.11
-rw-r--r--beagle/debian-rfs/lib/libblkid.so.1.1.0bin0 -> 109828 bytes
l---------beagle/debian-rfs/lib/libbz2.so.11
l---------beagle/debian-rfs/lib/libbz2.so.1.01
-rw-r--r--beagle/debian-rfs/lib/libbz2.so.1.0.4bin0 -> 74552 bytes
-rwxr-xr-xbeagle/debian-rfs/lib/libc-2.11.2.sobin0 -> 1205684 bytes
l---------beagle/debian-rfs/lib/libc.so.61
-rw-r--r--beagle/debian-rfs/lib/libcidn-2.11.2.sobin0 -> 181884 bytes
l---------beagle/debian-rfs/lib/libcidn.so.11
l---------beagle/debian-rfs/lib/libcom_err.so.21
-rw-r--r--beagle/debian-rfs/lib/libcom_err.so.2.1bin0 -> 9128 bytes
-rw-r--r--beagle/debian-rfs/lib/libcrypt-2.11.2.sobin0 -> 34376 bytes
l---------beagle/debian-rfs/lib/libcrypt.so.11
-rw-r--r--beagle/debian-rfs/lib/libdl-2.11.2.sobin0 -> 9808 bytes
l---------beagle/debian-rfs/lib/libdl.so.21
l---------beagle/debian-rfs/lib/libe2p.so.21
-rw-r--r--beagle/debian-rfs/lib/libe2p.so.2.3bin0 -> 22988 bytes
l---------beagle/debian-rfs/lib/libext2fs.so.21
-rw-r--r--beagle/debian-rfs/lib/libext2fs.so.2.4bin0 -> 163732 bytes
-rw-r--r--beagle/debian-rfs/lib/libgcc_s.so.1bin0 -> 47212 bytes
-rw-r--r--beagle/debian-rfs/lib/libm-2.11.2.sobin0 -> 652912 bytes
l---------beagle/debian-rfs/lib/libm.so.61
-rw-r--r--beagle/debian-rfs/lib/libmemusage.sobin0 -> 18008 bytes
l---------beagle/debian-rfs/lib/libncurses.so.51
-rw-r--r--beagle/debian-rfs/lib/libncurses.so.5.7bin0 -> 224816 bytes
-rw-r--r--beagle/debian-rfs/lib/libnsl-2.11.2.sobin0 -> 75732 bytes
l---------beagle/debian-rfs/lib/libnsl.so.11
-rw-r--r--beagle/debian-rfs/lib/libnss_compat-2.11.2.sobin0 -> 26480 bytes
l---------beagle/debian-rfs/lib/libnss_compat.so.21
-rw-r--r--beagle/debian-rfs/lib/libnss_dns-2.11.2.sobin0 -> 18040 bytes
l---------beagle/debian-rfs/lib/libnss_dns.so.21
-rw-r--r--beagle/debian-rfs/lib/libnss_files-2.11.2.sobin0 -> 42680 bytes
l---------beagle/debian-rfs/lib/libnss_files.so.21
-rw-r--r--beagle/debian-rfs/lib/libnss_hesiod-2.11.2.sobin0 -> 13952 bytes
l---------beagle/debian-rfs/lib/libnss_hesiod.so.21
-rw-r--r--beagle/debian-rfs/lib/libnss_nis-2.11.2.sobin0 -> 38608 bytes
l---------beagle/debian-rfs/lib/libnss_nis.so.21
-rw-r--r--beagle/debian-rfs/lib/libnss_nisplus-2.11.2.sobin0 -> 46788 bytes
l---------beagle/debian-rfs/lib/libnss_nisplus.so.21
l---------beagle/debian-rfs/lib/libpam.so.01
-rw-r--r--beagle/debian-rfs/lib/libpam.so.0.82.2bin0 -> 43172 bytes
l---------beagle/debian-rfs/lib/libpam_misc.so.01
-rw-r--r--beagle/debian-rfs/lib/libpam_misc.so.0.82.0bin0 -> 8220 bytes
l---------beagle/debian-rfs/lib/libpamc.so.01
-rw-r--r--beagle/debian-rfs/lib/libpamc.so.0.82.1bin0 -> 8656 bytes
-rw-r--r--beagle/debian-rfs/lib/libpcprofile.sobin0 -> 5588 bytes
-rwxr-xr-xbeagle/debian-rfs/lib/libpthread-2.11.2.sobin0 -> 120505 bytes
l---------beagle/debian-rfs/lib/libpthread.so.01
-rw-r--r--beagle/debian-rfs/lib/libresolv-2.11.2.sobin0 -> 71524 bytes
l---------beagle/debian-rfs/lib/libresolv.so.21
-rw-r--r--beagle/debian-rfs/lib/librt-2.11.2.sobin0 -> 26632 bytes
l---------beagle/debian-rfs/lib/librt.so.11
-rw-r--r--beagle/debian-rfs/lib/libselinux.so.1bin0 -> 100312 bytes
-rw-r--r--beagle/debian-rfs/lib/libsepol.so.1bin0 -> 211920 bytes
l---------beagle/debian-rfs/lib/libslang.so.21
-rw-r--r--beagle/debian-rfs/lib/libslang.so.2.2.2bin0 -> 793636 bytes
l---------beagle/debian-rfs/lib/libss.so.21
-rw-r--r--beagle/debian-rfs/lib/libss.so.2.0bin0 -> 18728 bytes
-rw-r--r--beagle/debian-rfs/lib/libthread_db-1.0.sobin0 -> 26404 bytes
l---------beagle/debian-rfs/lib/libthread_db.so.11
l---------beagle/debian-rfs/lib/libtic.so.51
-rw-r--r--beagle/debian-rfs/lib/libtic.so.5.7bin0 -> 47556 bytes
-rw-r--r--beagle/debian-rfs/lib/libutil-2.11.2.sobin0 -> 9848 bytes
l---------beagle/debian-rfs/lib/libutil.so.11
l---------beagle/debian-rfs/lib/libuuid.so.11
-rw-r--r--beagle/debian-rfs/lib/libuuid.so.1.3.0bin0 -> 14828 bytes
-rw-r--r--beagle/debian-rfs/lib/lsb/init-functions373
-rw-r--r--beagle/debian-rfs/lib/security/pam_access.sobin0 -> 11156 bytes
-rw-r--r--beagle/debian-rfs/lib/security/pam_debug.sobin0 -> 4816 bytes
-rw-r--r--beagle/debian-rfs/lib/security/pam_deny.sobin0 -> 2808 bytes
-rw-r--r--beagle/debian-rfs/lib/security/pam_echo.sobin0 -> 5092 bytes
-rw-r--r--beagle/debian-rfs/lib/security/pam_env.sobin0 -> 10244 bytes
-rw-r--r--beagle/debian-rfs/lib/security/pam_exec.sobin0 -> 8840 bytes
-rw-r--r--beagle/debian-rfs/lib/security/pam_faildelay.sobin0 -> 4688 bytes
-rw-r--r--beagle/debian-rfs/lib/security/pam_filter.sobin0 -> 10540 bytes
-rw-r--r--beagle/debian-rfs/lib/security/pam_ftp.sobin0 -> 4564 bytes
-rw-r--r--beagle/debian-rfs/lib/security/pam_group.sobin0 -> 10784 bytes
-rw-r--r--beagle/debian-rfs/lib/security/pam_issue.sobin0 -> 6932 bytes
-rw-r--r--beagle/debian-rfs/lib/security/pam_keyinit.sobin0 -> 5708 bytes
-rw-r--r--beagle/debian-rfs/lib/security/pam_lastlog.sobin0 -> 8976 bytes
-rw-r--r--beagle/debian-rfs/lib/security/pam_limits.sobin0 -> 12860 bytes
-rw-r--r--beagle/debian-rfs/lib/security/pam_listfile.sobin0 -> 7396 bytes
-rw-r--r--beagle/debian-rfs/lib/security/pam_localuser.sobin0 -> 4240 bytes
-rw-r--r--beagle/debian-rfs/lib/security/pam_loginuid.sobin0 -> 3808 bytes
-rw-r--r--beagle/debian-rfs/lib/security/pam_mail.sobin0 -> 7480 bytes
-rw-r--r--beagle/debian-rfs/lib/security/pam_mkhomedir.sobin0 -> 5736 bytes
-rw-r--r--beagle/debian-rfs/lib/security/pam_motd.sobin0 -> 4180 bytes
-rw-r--r--beagle/debian-rfs/lib/security/pam_namespace.sobin0 -> 29912 bytes
-rw-r--r--beagle/debian-rfs/lib/security/pam_nologin.sobin0 -> 4328 bytes
-rw-r--r--beagle/debian-rfs/lib/security/pam_permit.sobin0 -> 3140 bytes
-rw-r--r--beagle/debian-rfs/lib/security/pam_pwhistory.sobin0 -> 10336 bytes
-rw-r--r--beagle/debian-rfs/lib/security/pam_rhosts.sobin0 -> 4220 bytes
-rw-r--r--beagle/debian-rfs/lib/security/pam_rootok.sobin0 -> 3360 bytes
-rw-r--r--beagle/debian-rfs/lib/security/pam_securetty.sobin0 -> 5124 bytes
-rw-r--r--beagle/debian-rfs/lib/security/pam_selinux.sobin0 -> 14008 bytes
-rw-r--r--beagle/debian-rfs/lib/security/pam_sepermit.sobin0 -> 8640 bytes
-rw-r--r--beagle/debian-rfs/lib/security/pam_shells.sobin0 -> 3888 bytes
-rw-r--r--beagle/debian-rfs/lib/security/pam_stress.sobin0 -> 9848 bytes
-rw-r--r--beagle/debian-rfs/lib/security/pam_succeed_if.sobin0 -> 8460 bytes
-rw-r--r--beagle/debian-rfs/lib/security/pam_tally.sobin0 -> 9992 bytes
-rw-r--r--beagle/debian-rfs/lib/security/pam_tally2.sobin0 -> 9892 bytes
-rw-r--r--beagle/debian-rfs/lib/security/pam_time.sobin0 -> 9196 bytes
-rw-r--r--beagle/debian-rfs/lib/security/pam_timestamp.sobin0 -> 13412 bytes
-rw-r--r--beagle/debian-rfs/lib/security/pam_umask.sobin0 -> 6176 bytes
-rw-r--r--beagle/debian-rfs/lib/security/pam_unix.sobin0 -> 47860 bytes
-rw-r--r--beagle/debian-rfs/lib/security/pam_userdb.sobin0 -> 8092 bytes
-rw-r--r--beagle/debian-rfs/lib/security/pam_warn.sobin0 -> 3976 bytes
-rw-r--r--beagle/debian-rfs/lib/security/pam_wheel.sobin0 -> 5036 bytes
-rw-r--r--beagle/debian-rfs/lib/security/pam_xauth.sobin0 -> 12756 bytes
-rw-r--r--beagle/debian-rfs/lib/terminfo/E/Etermbin0 -> 2255 bytes
l---------beagle/debian-rfs/lib/terminfo/E/Eterm-color1
-rw-r--r--beagle/debian-rfs/lib/terminfo/a/ansibin0 -> 1481 bytes
-rw-r--r--beagle/debian-rfs/lib/terminfo/c/cons25bin0 -> 1502 bytes
-rw-r--r--beagle/debian-rfs/lib/terminfo/c/cons25-debianbin0 -> 1519 bytes
-rw-r--r--beagle/debian-rfs/lib/terminfo/c/cygwinbin0 -> 1529 bytes
-rw-r--r--beagle/debian-rfs/lib/terminfo/d/dumbbin0 -> 308 bytes
-rw-r--r--beagle/debian-rfs/lib/terminfo/h/hurdbin0 -> 1570 bytes
-rw-r--r--beagle/debian-rfs/lib/terminfo/l/linuxbin0 -> 1740 bytes
-rw-r--r--beagle/debian-rfs/lib/terminfo/m/machbin0 -> 617 bytes
-rw-r--r--beagle/debian-rfs/lib/terminfo/m/mach-boldbin0 -> 652 bytes
-rw-r--r--beagle/debian-rfs/lib/terminfo/m/mach-colorbin0 -> 1095 bytes
-rw-r--r--beagle/debian-rfs/lib/terminfo/p/pcansibin0 -> 1198 bytes
-rw-r--r--beagle/debian-rfs/lib/terminfo/r/rxvtbin0 -> 2064 bytes
-rw-r--r--beagle/debian-rfs/lib/terminfo/r/rxvt-basicbin0 -> 2020 bytes
l---------beagle/debian-rfs/lib/terminfo/r/rxvt-m1
-rw-r--r--beagle/debian-rfs/lib/terminfo/r/rxvt-unicodebin0 -> 2167 bytes
-rw-r--r--beagle/debian-rfs/lib/terminfo/s/screenbin0 -> 1344 bytes
-rw-r--r--beagle/debian-rfs/lib/terminfo/s/screen-256colorbin0 -> 1828 bytes
-rw-r--r--beagle/debian-rfs/lib/terminfo/s/screen-256color-bcebin0 -> 1840 bytes
-rw-r--r--beagle/debian-rfs/lib/terminfo/s/screen-bcebin0 -> 1370 bytes
-rw-r--r--beagle/debian-rfs/lib/terminfo/s/screen-sbin0 -> 1391 bytes
-rw-r--r--beagle/debian-rfs/lib/terminfo/s/screen-wbin0 -> 1566 bytes
-rw-r--r--beagle/debian-rfs/lib/terminfo/s/sunbin0 -> 997 bytes
-rw-r--r--beagle/debian-rfs/lib/terminfo/v/vt100bin0 -> 1194 bytes
-rw-r--r--beagle/debian-rfs/lib/terminfo/v/vt102bin0 -> 1188 bytes
-rw-r--r--beagle/debian-rfs/lib/terminfo/v/vt220bin0 -> 1279 bytes
-rw-r--r--beagle/debian-rfs/lib/terminfo/v/vt52bin0 -> 466 bytes
-rw-r--r--beagle/debian-rfs/lib/terminfo/w/wsvt25bin0 -> 1542 bytes
-rw-r--r--beagle/debian-rfs/lib/terminfo/w/wsvt25mbin0 -> 1552 bytes
-rw-r--r--beagle/debian-rfs/lib/terminfo/x/xtermbin0 -> 3213 bytes
-rw-r--r--beagle/debian-rfs/lib/terminfo/x/xterm-256colorbin0 -> 3285 bytes
-rw-r--r--beagle/debian-rfs/lib/terminfo/x/xterm-colorbin0 -> 1569 bytes
-rw-r--r--beagle/debian-rfs/lib/terminfo/x/xterm-debianbin0 -> 3241 bytes
-rw-r--r--beagle/debian-rfs/lib/terminfo/x/xterm-monobin0 -> 1515 bytes
-rw-r--r--beagle/debian-rfs/lib/terminfo/x/xterm-r5bin0 -> 1301 bytes
-rw-r--r--beagle/debian-rfs/lib/terminfo/x/xterm-r6bin0 -> 1501 bytes
-rw-r--r--beagle/debian-rfs/lib/terminfo/x/xterm-vt220bin0 -> 2273 bytes
-rw-r--r--beagle/debian-rfs/lib/terminfo/x/xterm-xfree86bin0 -> 2253 bytes
-rwxr-xr-xbeagle/debian-rfs/lib/udev/hwclock-set17
-rw-r--r--beagle/debian-rfs/lib/udev/rules.d/85-hwclock.rules4
167 files changed, 1125 insertions, 0 deletions
diff --git a/beagle/debian-rfs/lib/init/bootclean.sh b/beagle/debian-rfs/lib/init/bootclean.sh
new file mode 100644
index 0000000..02e6cef
--- /dev/null
+++ b/beagle/debian-rfs/lib/init/bootclean.sh
@@ -0,0 +1,190 @@
+#!/bin/sh
+#
+# bootclean
+#
+# Clean /tmp. Clean /var/run and /var/lock if not mounted as tmpfs
+#
+# DO NOT RUN AFTER S:55bootmisc.sh and do not run this script directly
+# in runlevel S. Instead write an initscript to call it.
+#
+
+. /lib/init/vars.sh
+
+. /lib/lsb/init-functions
+
+# Should be called outside verbose message block
+mkflagfile()
+{
+ # Prevent symlink attack (See #264234.)
+ [ -L "$1" ] && log_warning_msg "bootclean: Deleting symbolic link '$1'."
+ rm -f "$1" || { log_failure_msg "bootclean: Failure deleting '$1'." ; return 1 ; }
+ # No user processes should be running, so no one should be able to introduce
+ # a symlink here. As an extra precaution, set noclobber.
+ set -o noclobber
+ :> "$1" || { log_failure_msg "bootclean: Failure creating '$1'." ; return 1 ; }
+ return 0
+}
+
+clean_tmp() {
+ cd /tmp || { log_failure_msg "bootclean: Could not cd to /tmp." ; return 1 ; }
+
+ #
+ # Only clean out /tmp if it is world-writable. This ensures
+ # it really is a/the temp directory we're cleaning.
+ #
+ [ "$(find . -maxdepth 0 -perm -002)" = "." ] || return 0
+
+ if [ ! "$TMPTIME" ]
+ then
+ log_warning_msg "Using default TMPTIME 0."
+ TMPTIME=0
+ fi
+
+ [ "$VERBOSE" = no ] || log_action_begin_msg "Cleaning /tmp"
+
+ #
+ # Remove regardless of TMPTIME setting
+ #
+ rm -f .X*-lock
+
+ #
+ # Don't clean remaining files if TMPTIME is negative or 'infinite'
+ #
+ case "$TMPTIME" in
+ -*|infinite|infinity)
+ [ "$VERBOSE" = no ] || log_action_end_msg 0 "skipped"
+ return 0
+ ;;
+ esac
+
+ #
+ # Wipe /tmp, excluding system files, but including lost+found
+ #
+ # If TMPTIME is set to 0, we do not use any ctime expression
+ # at all, so we can also delete files with timestamps
+ # in the future!
+ #
+ if [ "$TMPTIME" = 0 ]
+ then
+ TEXPR=""
+ DEXPR=""
+ else
+ TEXPR="-mtime +$TMPTIME -ctime +$TMPTIME -atime +$TMPTIME"
+ DEXPR="-mtime +$TMPTIME -ctime +$TMPTIME"
+ fi
+
+ EXCEPT='! -name .
+ ! ( -path ./lost+found -uid 0 )
+ ! ( -path ./quota.user -uid 0 )
+ ! ( -path ./aquota.user -uid 0 )
+ ! ( -path ./quota.group -uid 0 )
+ ! ( -path ./aquota.group -uid 0 )
+ ! ( -path ./.journal -uid 0 )
+ ! ( -path ./.clean -uid 0 )
+ ! ( -path './...security*' -uid 0 )'
+
+ mkflagfile /tmp/.clean || return 1
+
+ report_err()
+ {
+ if [ "$VERBOSE" = no ]
+ then
+ log_failure_msg "bootclean: Failure cleaning /tmp."
+ else
+ log_action_end_msg 1 "bootclean: Failure cleaning /tmp"
+ fi
+ }
+
+ #
+ # First remove all old files...
+ #
+ find . -depth -xdev $TEXPR $EXCEPT ! -type d -delete \
+ || { report_err ; return 1 ; }
+
+ #
+ # ...and then all empty directories
+ #
+ find . -depth -xdev $DEXPR $EXCEPT -type d -empty -delete \
+ || { report_err ; return 1 ; }
+
+ [ "$VERBOSE" = no ] || log_action_end_msg 0
+ return 0
+}
+
+clean_lock() {
+ if [ yes = "$RAMLOCK" ] ; then
+ return 0
+ fi
+
+ cd /var/lock || { log_failure_msg "bootclean: Could not cd to /var/lock." ; return 1 ; }
+
+ [ "$VERBOSE" = no ] || log_action_begin_msg "Cleaning /var/lock"
+ report_err()
+ {
+ if [ "$VERBOSE" = no ]
+ then
+ log_failure_msg "bootclean: Failure cleaning /var/lock."
+ else
+ log_action_end_msg 1 "bootclean: Failure cleaning /var/lock"
+ fi
+ }
+ find . ! -type d -delete \
+ || { report_err ; return 1 ; }
+ [ "$VERBOSE" = no ] || log_action_end_msg 0
+ mkflagfile /var/lock/.clean || return 1
+ return 0
+}
+
+clean_run() {
+ if [ yes = "$RAMRUN" ] ; then
+ return 0
+ fi
+
+ cd /var/run || { log_action_end_msg 1 "bootclean: Could not cd to /var/run." ; return 1 ; }
+
+ [ "$VERBOSE" = no ] || log_action_begin_msg "Cleaning /var/run"
+ report_err()
+ {
+ if [ "$VERBOSE" = no ]
+ then
+ log_failure_msg "bootclean: Failure cleaning /var/run."
+ else
+ log_action_end_msg 1 "bootclean: Failure cleaning /var/run"
+ fi
+ }
+ find . ! -xtype d ! -name utmp ! -name innd.pid -delete \
+ || { report_err ; return 1 ; }
+ [ "$VERBOSE" = no ] || log_action_end_msg 0
+ mkflagfile /var/run/.clean || return 1
+ return 0
+}
+
+which find >/dev/null 2>&1 || exit 1
+log_begin_msg "Cleaning up temporary files..."
+
+# If there are flag files that have not been created by root
+# then remove them
+for D in /tmp /var/run /var/lock
+do
+ if [ -f $D/.clean ]
+ then
+ which stat >/dev/null 2>&1 && cleanuid="$(stat -c %u $D/.clean)"
+ # Poor's man stat %u, since stat (and /usr) might not be
+ # available in some bootup stages
+ [ "$cleanuid" ] || cleanuid="$(find $D/.clean -printf %U)"
+ [ "$cleanuid" ] || { log_failure_msg "bootclean: Could not stat '$D/.clean'." ; exit 1 ; }
+ if [ "$cleanuid" -ne 0 ]
+ then
+ rm -f $D/.clean || { log_failure_msg "bootclean: Could not delete '$D/.clean'." ; exit 1 ; }
+ fi
+ fi
+done
+
+[ -f /tmp/.clean ] && [ -f /var/run/.clean ] && [ -f /var/lock/.clean ] && { log_end_msg 0 ; exit 0 ; }
+
+ES=0
+[ -d /tmp ] && ! [ -f /tmp/.clean ] && { clean_tmp || ES=1 ; }
+[ -d /var/run ] && ! [ -f /var/run/.clean ] && { clean_run || ES=1 ; }
+[ -d /var/lock ] && ! [ -f /var/lock/.clean ] && { clean_lock || ES=1 ; }
+log_end_msg $ES
+exit $ES
diff --git a/beagle/debian-rfs/lib/init/mount-functions.sh b/beagle/debian-rfs/lib/init/mount-functions.sh
new file mode 100644
index 0000000..007d127
--- /dev/null
+++ b/beagle/debian-rfs/lib/init/mount-functions.sh
@@ -0,0 +1,165 @@
+#
+# Functions used by several mount* scripts in initscripts package
+#
+# Sourcer must source /lib/lsb/init-functions.sh
+
+# $1: directory
+is_empty_dir() {
+ for FILE in $1/* $1/.*
+ do
+ case "$FILE" in
+ "$1/.*") return 0 ;;
+ "$1/*"|"$1/."|"$1/..") continue ;;
+ *) return 1 ;;
+ esac
+ done
+ return 0
+}
+
+
+selinux_enabled () {
+ which selinuxenabled >/dev/null 2>&1 && selinuxenabled
+}
+
+
+# Called before mtab is writable to mount kernel and device file systems.
+# $1: file system type
+# $2: alternative file system type (or empty string if none)
+# $3: mount point
+# $4: mount device name
+# $5... : extra mount program options
+domount () {
+ MTPT="$3"
+ KERNEL="$(uname -s)"
+ # Figure out filesystem type
+ FSTYPE=
+ if [ "$1" = proc ]
+ then
+ case "$KERNEL" in
+ Linux|GNU) FSTYPE=proc ;;
+ *FreeBSD) FSTYPE=linprocfs ;;
+ *) FSTYPE=procfs ;;
+ esac
+ elif [ "$1" = tmpfs ]
+ then # always accept tmpfs, to mount /lib/init/rw before /proc
+ FSTYPE=$1
+ elif grep -E -qs "$1\$" /proc/filesystems
+ then
+ FSTYPE=$1
+ elif grep -E -qs "$2\$" /proc/filesystems
+ then
+ FSTYPE=$2
+ fi
+
+ if [ ! "$FSTYPE" ]
+ then
+ if [ "$2" ]
+ then
+ log_warning_msg "Filesystem types '$1' and '$2' are not supported. Skipping mount."
+ else
+ log_warning_msg "Filesystem type '$1' is not supported. Skipping mount."
+ fi
+ return
+ fi
+
+ # We give file system type as device name if not specified as
+ # an argument
+ if [ "$4" ] ; then
+ DEVNAME=$4
+ else
+ DEVNAME=$FSTYPE
+ fi
+
+ # Get the options from /etc/fstab.
+ OPTS=
+ if [ -f /etc/fstab ]
+ then
+ exec 9<&0 </etc/fstab
+
+ while read TAB_DEV TAB_MTPT TAB_FSTYPE TAB_OPTS TAB_REST
+ do
+ case "$TAB_DEV" in (""|\#*) continue ;; esac
+ [ "$MTPT" = "$TAB_MTPT" ] || continue
+ [ "$FSTYPE" = "$TAB_FSTYPE" ] || continue
+ case "$TAB_OPTS" in
+ noauto|*,noauto|noauto,*|*,noauto,*)
+ exec 0<&9 9<&-
+ return
+ ;;
+ ?*)
+ OPTS="-o$TAB_OPTS"
+ ;;
+ esac
+ break
+ done
+
+ exec 0<&9 9<&-
+ fi
+
+ if [ ! -d "$MTPT" ]
+ then
+ log_warning_msg "Mount point '$MTPT' does not exist. Skipping mount."
+ return
+ fi
+
+ if mountpoint -q "$MTPT"
+ then
+ return # Already mounted
+ fi
+
+ if [ "$VERBOSE" != "no" ]; then
+ is_empty_dir "$MTPT" >/dev/null 2>&1 || log_warning_msg "Files under mount point '$MTPT' will be hidden."
+ fi
+ mount -n -t $FSTYPE $5 $OPTS $DEVNAME $MTPT
+ if [ "$FSTYPE" = "tmpfs" -a -x /sbin/restorecon ]; then
+ /sbin/restorecon $MTPT
+ fi
+}
+
+#
+# Preserve /var/run and /var/lock mountpoints
+#
+pre_mountall ()
+{
+ # We may end up mounting something over top of /var, either directly
+ # or because /var is a symlink to something that's mounted. So keep
+ # copies of the /var/run and /var/lock mounts elsewhere on the root
+ # filesystem so they can be moved back.
+ if [ yes = "$RAMRUN" ] ; then
+ mkdir /lib/init/rw/var.run
+ mount -n --bind /var/run /lib/init/rw/var.run
+ fi
+ if [ yes = "$RAMLOCK" ] ; then
+ mkdir /lib/init/rw/var.lock
+ mount -n --bind /var/lock /lib/init/rw/var.lock
+ fi
+}
+
+#
+# Restore /var/run and /var/lock mountpoints if something was mounted
+# as /var/. Avoid mounting them back over themselves if nothing was
+# mounted as /var/ by checking if /var/run/ and /var/lock/ are still
+# mount points. Enabling RAMRUN and RAMLOCK while listing /var/run or
+# /var/lock in /etc/fstab is not supported.
+#
+post_mountall ()
+{
+ if [ yes = "$RAMRUN" ] ; then
+ [ -d /var/run ] || mkdir /var/run
+ if mountpoint -q /var/run ; then
+ umount /lib/init/rw/var.run
+ else
+ mount -n --move /lib/init/rw/var.run /var/run
+ fi
+ rmdir /lib/init/rw/var.run
+ fi
+ if [ yes = "$RAMLOCK" ] ; then
+ [ -d /var/lock ] || mkdir /var/lock
+ if mountpoint -q /var/lock ; then
+ umount /lib/init/rw/var.lock
+ else
+ mount -n --move /lib/init/rw/var.lock /var/lock
+ fi
+ rmdir /lib/init/rw/var.lock
+ fi
+}
diff --git a/beagle/debian-rfs/lib/init/splash-functions-base b/beagle/debian-rfs/lib/init/splash-functions-base
new file mode 100644
index 0000000..8319dab
--- /dev/null
+++ b/beagle/debian-rfs/lib/init/splash-functions-base
@@ -0,0 +1,93 @@
+# This script contains hooks to allow init scripts to control
+# a splash program during boot and shutdown.
+#
+# To override these, provide a /lib/init/splash-functions scripts
+# with new functions (it is sourced at the end of this file)
+#
+# Note that scripts have a number of constraints:
+# 1) Should avoid using any binaries not found in the initramfs so that
+# the same hooks can be used there.
+# 2) This also means that bashisms can't be used.
+# 3) Scripts must work when running under "set -e".
+# 4) "local" should be used to avoid overwriting global variables.
+
+
+# Detects whether a splash is running
+splash_running() { return 1; }
+
+# Tells the splash to quit
+splash_stop() { return 0; }
+
+# Tells the splash to start if not already running
+splash_start() { return 1; }
+
+# Tells the splash the current boot/shutdown progress
+# $1 contains the progress as a percentage value between -100 and 100
+# Positive values indicate boot progress
+# Negative values indicate shutdown progress
+splash_progress()
+{
+ local progress tmp
+ progress="$1"
+
+ splash_running || return 0
+
+ # Sanity check step 1 - must match ^-[0-9]*$
+ tmp="$progress"
+
+ # Strip trailing numbers
+ while [ "${tmp%[0-9]}" != "$tmp" ]; do
+ tmp="${tmp%[0-9]}"
+ done
+
+ # Now "-" or no characters should remain
+ if [ -n "$tmp" ] && [ "$tmp" != "-" ]; then
+ return 1
+ fi
+
+ # Sanity check step 2 - check for values >= -100 and <= 100
+ if [ "$progress" != "${progress#-}" ]; then
+ # Negative value
+ if [ "$progress" -lt -100 ]; then
+ return 1
+ fi
+ else
+ # Positive value
+ if [ "$progress" -gt 100 ]; then
+ return 1
+ fi
+ fi
+
+ # Sanity checks passed
+ custom_splash_progress "$progress" || return 1
+ return 0
+}
+
+# Customizations should replace this function instead of splash_progress above
+custom_splash_progress() { return 0; }
+
+
+# Tells the splash that a task which may take an unknown amount of
+# time has started (such as a fsck). This is useful to make sure the
+# splash doesn't time out and to give visual feedback to the user.
+splash_start_indefinite() { return 0; }
+
+# Tells the splash that an indefinite task is done
+splash_stop_indefinite() { return 0; }
+
+# Gets user input from a splash
+# $1 contains the text for the user prompt
+# $2 describes the type of input:
+# regular = regular input, e.g. a user name
+# password = input which should not be echoed to screen, e.g. a password
+# enter = A "press enter to continue" type of prompt
+#
+# Returns 1 if no user input is possible
+# Should be called with an alternative non-splash input fallback:
+# INPUT="$(splash_user_input "Enter password:" password)" || \
+# INPUT="$(manual_method)"
+splash_user_input() { return 1; }
+
+# Allow these functions to be overridden with custom scripts. This is
+# the official API hook.
+if [ -e /lib/init/splash-functions ] ; then . /lib/init/splash-functions ; fi
diff --git a/beagle/debian-rfs/lib/init/swap-functions.sh b/beagle/debian-rfs/lib/init/swap-functions.sh
new file mode 100644
index 0000000..48a2326
--- /dev/null
+++ b/beagle/debian-rfs/lib/init/swap-functions.sh
@@ -0,0 +1,28 @@
+#
+# Functions that assist in turning on swap.
+#
+
+# $1 is a string used to log the type of swap expected to be activated
+swaponagain() {
+ #
+ # Execute swapon command again to pick up any swap partitions
+ # that have shown up since the last swapon.
+ #
+ # Ignore 255 status due to swap already being enabled
+ #
+ if [ "$NOSWAP" = yes ]
+ then
+ [ "$VERBOSE" = no ] || log_warning_msg "Not activating swap as requested via bootoption noswap."
+ else
+ if [ "$VERBOSE" = no ]
+ then
+ log_action_begin_msg "Activating $1 swap"
+ swapon -a -e 2>/dev/null || : # Stifle "Device or resource busy"
+ log_action_end_msg 0
+ else
+ log_daemon_msg "Will now activate $1 swap"
+ swapon -a -e -v
+ log_action_end_msg $?
+ fi
+ fi
+}
diff --git a/beagle/debian-rfs/lib/init/usplash-fsck-functions.sh b/beagle/debian-rfs/lib/init/usplash-fsck-functions.sh
new file mode 100644
index 0000000..7235e20
--- /dev/null
+++ b/beagle/debian-rfs/lib/init/usplash-fsck-functions.sh
@@ -0,0 +1,178 @@
+#
+# Functions for reporting fsck progress in usplash
+#
+# (C) 2008 Canonical Ltd.
+# Author: Martin Pitt <martin.pitt@ubuntu.com>
+#
+
+# convert a "pass cur max" progress triple from fsck to a progress percentage
+# based on calc_percent() from e2fsck
+fsck_progress_to_percent() {
+ if [ $1 = 1 ]; then
+ PERCENT=$(($2 * 70 / $3))
+ elif [ $1 = 2 ]; then
+ PERCENT=$(($2 * 20 / $3 + 70))
+ elif [ $1 = 3 ]; then
+ PERCENT=$(($2 * 2 / $3 + 90))
+ elif [ $1 = 4 ]; then
+ PERCENT=$(($2 * 3 / $3 + 92))
+ elif [ $1 = 5 ]; then
+ PERCENT=$(($2 * 5 / $3 + 95))
+ else
+ PERCENT=100
+ fi
+}
+
+# read current fsck status ($PASS, $CUR, $MAX) from file descriptor 4
+# this assumes that fsck was started in the background ($!)
+get_fsck_status()
+{
+ local a b c S
+
+ unset a
+ # only consider the last line
+ while true; do
+ PASS=$a
+ CUR=$b
+ MAX=$c
+ read a b c rest <&4
+ if [ -n "$PASS" ] && [ -z "$a" ]; then
+ break;
+ fi
+
+ # if we did not read anything, check if the process is still
+ # actually running, or just waiting to be reaped
+ if [ -z "$PASS" ] && [ -z "$a" ]; then
+ S=`ps -o state --no-headers -p $!` || break
+ [ "$S" != "Z" ] || break
+ # do not spin while waiting for fsck to start up
+ sleep 0.1
+ fi
+ done
+}
+
+# Set $NAME to a human readable description of which partitions are currently
+# being checked. Set $CLEAN if this is only a routine check on clean
+# partitions which can be skipped.
+get_checked_names ()
+{
+ local DEVS DUMP LABEL
+
+ FSCKPROCS=$(ps --no-headers -C 'fsck.ext2 fsck.ext3 fsck.ext4 fsck.ext4dev' -o pid,args | grep /dev)
+ DEVS=$(echo "$FSCKPROCS" | sed 's_^.*\(/dev/[^[:space:]]*\).*$_\1_')
+ FSCKPIDS=$(echo "$FSCKPROCS" | sed 's_^[[:space:]]*\([[:digit:]]\+\).*$_\1_')
+
+ if [ -z "$DEVS" ]; then
+ unset NAME
+ return 0
+ fi
+
+ CLEAN=1
+ unset NAME
+ for DEV in $DEVS; do
+ DUMP=$(dumpe2fs -h $DEV)
+ if ! echo "$DUMP" | grep -q 'state:[[:space:]]*clean$'; then
+ unset CLEAN
+ fi
+
+ LABEL=$(blkid $DEV | sed -rn '/LABEL="([^"]+)"/ { s/^.*LABEL="//; s/".*$//; p }')
+ [ -z "$NAME" ] || NAME="$NAME, "
+ if [ -n "$LABEL" ]; then
+ NAME="$NAME$LABEL ($DEV)"
+ else
+ NAME="$NAME$DEV"
+ fi
+ done
+}
+
+# Return true if usplash is active
+usplash_running() {
+ if pidof usplash ; then
+ return 0
+ else
+ return 1
+ fi
+}
+
+# Read fsck progress from file $1 and display progress in usplash.
+usplash_progress() {
+ exec 4<$1
+ unset CANCEL
+ ESCAPE=`/bin/echo -ne "\x1B"`
+ FIRST=1
+ PREVPERCENT=0
+
+ while true; do
+ sleep 0.5
+ get_fsck_status
+ [ -n "$PASS" ] || break
+
+ fsck_progress_to_percent "$PASS" "$CUR" "$MAX"
+
+ # check if fsck advanced to the next drive
+ if [ "$PREVPERCENT" -gt "$PERCENT" ]; then
+ if [ -n "$CANCEL" ]; then
+ usplash_write "STATUS skip "
+ else
+ usplash_write "STATUS "
+ fi
+ FIRST=1
+ fi
+ PREVPERCENT=$PERCENT
+
+ # lazy initialization of output and progress report on the first
+ # progress line that we receive; this avoids starting the output
+ # for clean or non-ext[234] partitions
+ if [ -n "$FIRST" ]; then
+ usplash_write "TIMEOUT 0"
+
+ # show which device is being checked
+ get_checked_names
+ [ -n "$NAME" ] || break
+
+ usplash_write "VERBOSE on"
+ if [ "$CLEAN" ]; then
+ usplash_write "TEXT Routine check of drives: $NAME..."
+ usplash_write "TEXT Press ESC to skip"
+ else
+ usplash_write "TEXT Unclean shutdown, checking drives:"
+ usplash_write "TEXT $NAME..."
+ fi
+
+ unset FIRST
+ fi
+
+ usplash_write "STATUS $PERCENT% (stage $PASS/5, $CUR/$MAX) "
+ echo "Checking drive $NAME: $PERCENT% (stage $PASS/5, $CUR/$MAX)" >/dev/console
+
+ # ESC interrupts check for clean drives
+ if [ -n "$CLEAN" ]; then
+ if FAIL_NO_USPLASH=1 usplash_write "INPUTCHAR"; then
+ read ch < /dev/.initramfs/usplash_outfifo
+ if [ "$ch" = "$ESCAPE" ]; then
+ kill $FSCKPIDS
+ CANCEL=1
+ continue # there might be more drives, so do not break
+ fi
+ fi
+ fi
+ done
+
+ if [ -n "$CANCEL" ]; then
+ usplash_write "STATUS skip "
+ else
+ usplash_write "STATUS "
+ fi
+ usplash_write "VERBOSE default"
+ usplash_write "TEXT Drive checks finished."
+ usplash_write "TIMEOUT 15"
+ wait %1 # to collect fsck's exit code
+ EXITCODE=$?
+ [ -n "$CANCEL" ] && FSCKCODE=0 || FSCKCODE=$EXITCODE
+ if [ "$FSCKCODE" -gt 1 ]; then
+ # non-correctable failure which requires sulogin: quit usplash and
+ # restore stdin/out/err
+ usplash_write "QUIT"
+ exec </dev/console >/dev/console 2>/dev/console
+ fi
+}
diff --git a/beagle/debian-rfs/lib/init/vars.sh b/beagle/debian-rfs/lib/init/vars.sh
new file mode 100644
index 0000000..1b4769b
--- /dev/null
+++ b/beagle/debian-rfs/lib/init/vars.sh
@@ -0,0 +1,39 @@
+#
+# Set rcS vars
+#
+
+# Source conffile
+if [ -f /etc/default/rcS ]; then
+ . /etc/default/rcS
+fi
+
+# Parse kernel command line
+if [ -r /proc/cmdline ]; then
+ for ARG in $(cat /proc/cmdline); do
+ case $ARG in
+
+ # check for bootoption 'noswap' and do not activate swap
+ # partitions/files when it is set.
+ noswap)
+ NOSWAP=yes
+ break
+ ;;
+
+ # Accept the same 'quiet' option as the kernel, but only
+ # during boot and shutdown. Only use this rule when the
+ # variables set by init.d/rc is present.
+ quiet)
+ if [ "$RUNLEVEL" ] && [ "$PREVLEVEL" ] ; then
+ VERBOSE="no"
+ fi
+ break
+ ;;
+ esac
+ done
+fi
+
+# But allow both rcS and the kernel options 'quiet' to be overrided
+# when INIT_VERBOSE=yes is used as well.
+if [ "$INIT_VERBOSE" ] ; then
+ VERBOSE="$INIT_VERBOSE"
+fi
diff --git a/beagle/debian-rfs/lib/ld-2.11.2.so b/beagle/debian-rfs/lib/ld-2.11.2.so
new file mode 100755
index 0000000..9cb4009
--- /dev/null
+++ b/beagle/debian-rfs/lib/ld-2.11.2.so
Binary files differ
diff --git a/beagle/debian-rfs/lib/ld-linux.so.3 b/beagle/debian-rfs/lib/ld-linux.so.3
new file mode 120000
index 0000000..e165495
--- /dev/null
+++ b/beagle/debian-rfs/lib/ld-linux.so.3
@@ -0,0 +1 @@
+ld-2.11.2.so \ No newline at end of file
diff --git a/beagle/debian-rfs/lib/libBrokenLocale-2.11.2.so b/beagle/debian-rfs/lib/libBrokenLocale-2.11.2.so
new file mode 100644
index 0000000..47b09bf
--- /dev/null
+++ b/beagle/debian-rfs/lib/libBrokenLocale-2.11.2.so
Binary files differ
diff --git a/beagle/debian-rfs/lib/libBrokenLocale.so.1 b/beagle/debian-rfs/lib/libBrokenLocale.so.1
new file mode 120000
index 0000000..3625f19
--- /dev/null
+++ b/beagle/debian-rfs/lib/libBrokenLocale.so.1
@@ -0,0 +1 @@
+libBrokenLocale-2.11.2.so \ No newline at end of file
diff --git a/beagle/debian-rfs/lib/libSegFault.so b/beagle/debian-rfs/lib/libSegFault.so
new file mode 100644
index 0000000..6a6eb31
--- /dev/null
+++ b/beagle/debian-rfs/lib/libSegFault.so
Binary files differ
diff --git a/beagle/debian-rfs/lib/libacl.so.1 b/beagle/debian-rfs/lib/libacl.so.1
new file mode 120000
index 0000000..09bf057
--- /dev/null
+++ b/beagle/debian-rfs/lib/libacl.so.1
@@ -0,0 +1 @@
+libacl.so.1.1.0 \ No newline at end of file
diff --git a/beagle/debian-rfs/lib/libacl.so.1.1.0 b/beagle/debian-rfs/lib/libacl.so.1.1.0
new file mode 100644
index 0000000..2d829c0
--- /dev/null
+++ b/beagle/debian-rfs/lib/libacl.so.1.1.0
Binary files differ
diff --git a/beagle/debian-rfs/lib/libanl-2.11.2.so b/beagle/debian-rfs/lib/libanl-2.11.2.so
new file mode 100644
index 0000000..76ebc70
--- /dev/null
+++ b/beagle/debian-rfs/lib/libanl-2.11.2.so
Binary files differ
diff --git a/beagle/debian-rfs/lib/libanl.so.1 b/beagle/debian-rfs/lib/libanl.so.1
new file mode 120000
index 0000000..b4ba076
--- /dev/null
+++ b/beagle/debian-rfs/lib/libanl.so.1
@@ -0,0 +1 @@
+libanl-2.11.2.so \ No newline at end of file
diff --git a/beagle/debian-rfs/lib/libattr.so.1 b/beagle/debian-rfs/lib/libattr.so.1
new file mode 120000
index 0000000..3bf0788
--- /dev/null
+++ b/beagle/debian-rfs/lib/libattr.so.1
@@ -0,0 +1 @@
+libattr.so.1.1.0 \ No newline at end of file
diff --git a/beagle/debian-rfs/lib/libattr.so.1.1.0 b/beagle/debian-rfs/lib/libattr.so.1.1.0
new file mode 100644
index 0000000..3d7238c
--- /dev/null
+++ b/beagle/debian-rfs/lib/libattr.so.1.1.0
Binary files differ
diff --git a/beagle/debian-rfs/lib/libblkid.so.1 b/beagle/debian-rfs/lib/libblkid.so.1
new file mode 120000
index 0000000..e4f69c7
--- /dev/null
+++ b/beagle/debian-rfs/lib/libblkid.so.1
@@ -0,0 +1 @@
+libblkid.so.1.1.0 \ No newline at end of file
diff --git a/beagle/debian-rfs/lib/libblkid.so.1.1.0 b/beagle/debian-rfs/lib/libblkid.so.1.1.0
new file mode 100644
index 0000000..c89d95f
--- /dev/null
+++ b/beagle/debian-rfs/lib/libblkid.so.1.1.0
Binary files differ
diff --git a/beagle/debian-rfs/lib/libbz2.so.1 b/beagle/debian-rfs/lib/libbz2.so.1
new file mode 120000
index 0000000..e743541
--- /dev/null
+++ b/beagle/debian-rfs/lib/libbz2.so.1
@@ -0,0 +1 @@
+libbz2.so.1.0.4 \ No newline at end of file
diff --git a/beagle/debian-rfs/lib/libbz2.so.1.0 b/beagle/debian-rfs/lib/libbz2.so.1.0
new file mode 120000
index 0000000..e743541
--- /dev/null
+++ b/beagle/debian-rfs/lib/libbz2.so.1.0
@@ -0,0 +1 @@
+libbz2.so.1.0.4 \ No newline at end of file
diff --git a/beagle/debian-rfs/lib/libbz2.so.1.0.4 b/beagle/debian-rfs/lib/libbz2.so.1.0.4
new file mode 100644
index 0000000..9f86dd3
--- /dev/null
+++ b/beagle/debian-rfs/lib/libbz2.so.1.0.4
Binary files differ
diff --git a/beagle/debian-rfs/lib/libc-2.11.2.so b/beagle/debian-rfs/lib/libc-2.11.2.so
new file mode 100755
index 0000000..ab4dad3
--- /dev/null
+++ b/beagle/debian-rfs/lib/libc-2.11.2.so
Binary files differ
diff --git a/beagle/debian-rfs/lib/libc.so.6 b/beagle/debian-rfs/lib/libc.so.6
new file mode 120000
index 0000000..9aef9e9
--- /dev/null
+++ b/beagle/debian-rfs/lib/libc.so.6
@@ -0,0 +1 @@
+libc-2.11.2.so \ No newline at end of file
diff --git a/beagle/debian-rfs/lib/libcidn-2.11.2.so b/beagle/debian-rfs/lib/libcidn-2.11.2.so
new file mode 100644
index 0000000..2386326
--- /dev/null
+++ b/beagle/debian-rfs/lib/libcidn-2.11.2.so
Binary files differ
diff --git a/beagle/debian-rfs/lib/libcidn.so.1 b/beagle/debian-rfs/lib/libcidn.so.1
new file mode 120000
index 0000000..b4959ee
--- /dev/null
+++ b/beagle/debian-rfs/lib/libcidn.so.1
@@ -0,0 +1 @@
+libcidn-2.11.2.so \ No newline at end of file
diff --git a/beagle/debian-rfs/lib/libcom_err.so.2 b/beagle/debian-rfs/lib/libcom_err.so.2
new file mode 120000
index 0000000..e989efb
--- /dev/null
+++ b/beagle/debian-rfs/lib/libcom_err.so.2
@@ -0,0 +1 @@
+libcom_err.so.2.1 \ No newline at end of file
diff --git a/beagle/debian-rfs/lib/libcom_err.so.2.1 b/beagle/debian-rfs/lib/libcom_err.so.2.1
new file mode 100644
index 0000000..b60157e
--- /dev/null
+++ b/beagle/debian-rfs/lib/libcom_err.so.2.1
Binary files differ
diff --git a/beagle/debian-rfs/lib/libcrypt-2.11.2.so b/beagle/debian-rfs/lib/libcrypt-2.11.2.so
new file mode 100644
index 0000000..fca4e7c
--- /dev/null
+++ b/beagle/debian-rfs/lib/libcrypt-2.11.2.so
Binary files differ
diff --git a/beagle/debian-rfs/lib/libcrypt.so.1 b/beagle/debian-rfs/lib/libcrypt.so.1
new file mode 120000
index 0000000..3fe42b3
--- /dev/null
+++ b/beagle/debian-rfs/lib/libcrypt.so.1
@@ -0,0 +1 @@
+libcrypt-2.11.2.so \ No newline at end of file
diff --git a/beagle/debian-rfs/lib/libdl-2.11.2.so b/beagle/debian-rfs/lib/libdl-2.11.2.so
new file mode 100644
index 0000000..63339b2
--- /dev/null
+++ b/beagle/debian-rfs/lib/libdl-2.11.2.so
Binary files differ
diff --git a/beagle/debian-rfs/lib/libdl.so.2 b/beagle/debian-rfs/lib/libdl.so.2
new file mode 120000
index 0000000..30b67f7
--- /dev/null
+++ b/beagle/debian-rfs/lib/libdl.so.2
@@ -0,0 +1 @@
+libdl-2.11.2.so \ No newline at end of file
diff --git a/beagle/debian-rfs/lib/libe2p.so.2 b/beagle/debian-rfs/lib/libe2p.so.2
new file mode 120000
index 0000000..177bc5c
--- /dev/null
+++ b/beagle/debian-rfs/lib/libe2p.so.2
@@ -0,0 +1 @@
+libe2p.so.2.3 \ No newline at end of file
diff --git a/beagle/debian-rfs/lib/libe2p.so.2.3 b/beagle/debian-rfs/lib/libe2p.so.2.3
new file mode 100644
index 0000000..70beb4d
--- /dev/null
+++ b/beagle/debian-rfs/lib/libe2p.so.2.3
Binary files differ
diff --git a/beagle/debian-rfs/lib/libext2fs.so.2 b/beagle/debian-rfs/lib/libext2fs.so.2
new file mode 120000
index 0000000..60d5fb9
--- /dev/null
+++ b/beagle/debian-rfs/lib/libext2fs.so.2
@@ -0,0 +1 @@
+libext2fs.so.2.4 \ No newline at end of file
diff --git a/beagle/debian-rfs/lib/libext2fs.so.2.4 b/beagle/debian-rfs/lib/libext2fs.so.2.4
new file mode 100644
index 0000000..5991885
--- /dev/null
+++ b/beagle/debian-rfs/lib/libext2fs.so.2.4
Binary files differ
diff --git a/beagle/debian-rfs/lib/libgcc_s.so.1 b/beagle/debian-rfs/lib/libgcc_s.so.1
new file mode 100644
index 0000000..32b6825
--- /dev/null
+++ b/beagle/debian-rfs/lib/libgcc_s.so.1
Binary files differ
diff --git a/beagle/debian-rfs/lib/libm-2.11.2.so b/beagle/debian-rfs/lib/libm-2.11.2.so
new file mode 100644
index 0000000..cce0caa
--- /dev/null
+++ b/beagle/debian-rfs/lib/libm-2.11.2.so
Binary files differ
diff --git a/beagle/debian-rfs/lib/libm.so.6 b/beagle/debian-rfs/lib/libm.so.6
new file mode 120000
index 0000000..c1c0ce0
--- /dev/null
+++ b/beagle/debian-rfs/lib/libm.so.6
@@ -0,0 +1 @@
+libm-2.11.2.so \ No newline at end of file
diff --git a/beagle/debian-rfs/lib/libmemusage.so b/beagle/debian-rfs/lib/libmemusage.so
new file mode 100644
index 0000000..6134b00
--- /dev/null
+++ b/beagle/debian-rfs/lib/libmemusage.so
Binary files differ
diff --git a/beagle/debian-rfs/lib/libncurses.so.5 b/beagle/debian-rfs/lib/libncurses.so.5
new file mode 120000
index 0000000..89ed099
--- /dev/null
+++ b/beagle/debian-rfs/lib/libncurses.so.5
@@ -0,0 +1 @@
+libncurses.so.5.7 \ No newline at end of file
diff --git a/beagle/debian-rfs/lib/libncurses.so.5.7 b/beagle/debian-rfs/lib/libncurses.so.5.7
new file mode 100644
index 0000000..bef110c
--- /dev/null
+++ b/beagle/debian-rfs/lib/libncurses.so.5.7
Binary files differ
diff --git a/beagle/debian-rfs/lib/libnsl-2.11.2.so b/beagle/debian-rfs/lib/libnsl-2.11.2.so
new file mode 100644
index 0000000..d8189c9
--- /dev/null
+++ b/beagle/debian-rfs/lib/libnsl-2.11.2.so
Binary files differ
diff --git a/beagle/debian-rfs/lib/libnsl.so.1 b/beagle/debian-rfs/lib/libnsl.so.1
new file mode 120000
index 0000000..56f2a34
--- /dev/null
+++ b/beagle/debian-rfs/lib/libnsl.so.1
@@ -0,0 +1 @@
+libnsl-2.11.2.so \ No newline at end of file
diff --git a/beagle/debian-rfs/lib/libnss_compat-2.11.2.so b/beagle/debian-rfs/lib/libnss_compat-2.11.2.so
new file mode 100644
index 0000000..18ba671
--- /dev/null
+++ b/beagle/debian-rfs/lib/libnss_compat-2.11.2.so
Binary files differ
diff --git a/beagle/debian-rfs/lib/libnss_compat.so.2 b/beagle/debian-rfs/lib/libnss_compat.so.2
new file mode 120000
index 0000000..1378d78
--- /dev/null
+++ b/beagle/debian-rfs/lib/libnss_compat.so.2
@@ -0,0 +1 @@
+libnss_compat-2.11.2.so \ No newline at end of file
diff --git a/beagle/debian-rfs/lib/libnss_dns-2.11.2.so b/beagle/debian-rfs/lib/libnss_dns-2.11.2.so
new file mode 100644
index 0000000..35898f4
--- /dev/null
+++ b/beagle/debian-rfs/lib/libnss_dns-2.11.2.so
Binary files differ
diff --git a/beagle/debian-rfs/lib/libnss_dns.so.2 b/beagle/debian-rfs/lib/libnss_dns.so.2
new file mode 120000
index 0000000..870d4ad
--- /dev/null
+++ b/beagle/debian-rfs/lib/libnss_dns.so.2
@@ -0,0 +1 @@
+libnss_dns-2.11.2.so \ No newline at end of file
diff --git a/beagle/debian-rfs/lib/libnss_files-2.11.2.so b/beagle/debian-rfs/lib/libnss_files-2.11.2.so
new file mode 100644
index 0000000..bb5b63f
--- /dev/null
+++ b/beagle/debian-rfs/lib/libnss_files-2.11.2.so
Binary files differ
diff --git a/beagle/debian-rfs/lib/libnss_files.so.2 b/beagle/debian-rfs/lib/libnss_files.so.2
new file mode 120000
index 0000000..88feeed
--- /dev/null
+++ b/beagle/debian-rfs/lib/libnss_files.so.2
@@ -0,0 +1 @@
+libnss_files-2.11.2.so \ No newline at end of file
diff --git a/beagle/debian-rfs/lib/libnss_hesiod-2.11.2.so b/beagle/debian-rfs/lib/libnss_hesiod-2.11.2.so
new file mode 100644
index 0000000..ede2702
--- /dev/null
+++ b/beagle/debian-rfs/lib/libnss_hesiod-2.11.2.so
Binary files differ
diff --git a/beagle/debian-rfs/lib/libnss_hesiod.so.2 b/beagle/debian-rfs/lib/libnss_hesiod.so.2
new file mode 120000
index 0000000..831743f
--- /dev/null
+++ b/beagle/debian-rfs/lib/libnss_hesiod.so.2
@@ -0,0 +1 @@
+libnss_hesiod-2.11.2.so \ No newline at end of file
diff --git a/beagle/debian-rfs/lib/libnss_nis-2.11.2.so b/beagle/debian-rfs/lib/libnss_nis-2.11.2.so
new file mode 100644
index 0000000..70b6c1d
--- /dev/null
+++ b/beagle/debian-rfs/lib/libnss_nis-2.11.2.so
Binary files differ
diff --git a/beagle/debian-rfs/lib/libnss_nis.so.2 b/beagle/debian-rfs/lib/libnss_nis.so.2
new file mode 120000
index 0000000..4b2a02a
--- /dev/null
+++ b/beagle/debian-rfs/lib/libnss_nis.so.2
@@ -0,0 +1 @@
+libnss_nis-2.11.2.so \ No newline at end of file
diff --git a/beagle/debian-rfs/lib/libnss_nisplus-2.11.2.so b/beagle/debian-rfs/lib/libnss_nisplus-2.11.2.so
new file mode 100644
index 0000000..fa9e4cd
--- /dev/null
+++ b/beagle/debian-rfs/lib/libnss_nisplus-2.11.2.so
Binary files differ
diff --git a/beagle/debian-rfs/lib/libnss_nisplus.so.2 b/beagle/debian-rfs/lib/libnss_nisplus.so.2
new file mode 120000
index 0000000..48aeb6d
--- /dev/null
+++ b/beagle/debian-rfs/lib/libnss_nisplus.so.2
@@ -0,0 +1 @@
+libnss_nisplus-2.11.2.so \ No newline at end of file
diff --git a/beagle/debian-rfs/lib/libpam.so.0 b/beagle/debian-rfs/lib/libpam.so.0
new file mode 120000
index 0000000..b8b4a0c
--- /dev/null
+++ b/beagle/debian-rfs/lib/libpam.so.0
@@ -0,0 +1 @@
+libpam.so.0.82.2 \ No newline at end of file
diff --git a/beagle/debian-rfs/lib/libpam.so.0.82.2 b/beagle/debian-rfs/lib/libpam.so.0.82.2
new file mode 100644
index 0000000..40f3194
--- /dev/null
+++ b/beagle/debian-rfs/lib/libpam.so.0.82.2
Binary files differ
diff --git a/beagle/debian-rfs/lib/libpam_misc.so.0 b/beagle/debian-rfs/lib/libpam_misc.so.0
new file mode 120000
index 0000000..c5922dc
--- /dev/null
+++ b/beagle/debian-rfs/lib/libpam_misc.so.0
@@ -0,0 +1 @@
+libpam_misc.so.0.82.0 \ No newline at end of file
diff --git a/beagle/debian-rfs/lib/libpam_misc.so.0.82.0 b/beagle/debian-rfs/lib/libpam_misc.so.0.82.0
new file mode 100644
index 0000000..0bc8de1
--- /dev/null
+++ b/beagle/debian-rfs/lib/libpam_misc.so.0.82.0
Binary files differ
diff --git a/beagle/debian-rfs/lib/libpamc.so.0 b/beagle/debian-rfs/lib/libpamc.so.0
new file mode 120000
index 0000000..ca497ea
--- /dev/null
+++ b/beagle/debian-rfs/lib/libpamc.so.0
@@ -0,0 +1 @@
+libpamc.so.0.82.1 \ No newline at end of file
diff --git a/beagle/debian-rfs/lib/libpamc.so.0.82.1 b/beagle/debian-rfs/lib/libpamc.so.0.82.1
new file mode 100644
index 0000000..2f93a83
--- /dev/null
+++ b/beagle/debian-rfs/lib/libpamc.so.0.82.1
Binary files differ
diff --git a/beagle/debian-rfs/lib/libpcprofile.so b/beagle/debian-rfs/lib/libpcprofile.so
new file mode 100644
index 0000000..2c889ad
--- /dev/null
+++ b/beagle/debian-rfs/lib/libpcprofile.so
Binary files differ
diff --git a/beagle/debian-rfs/lib/libpthread-2.11.2.so b/beagle/debian-rfs/lib/libpthread-2.11.2.so
new file mode 100755
index 0000000..eaf1beb
--- /dev/null
+++ b/beagle/debian-rfs/lib/libpthread-2.11.2.so
Binary files differ
diff --git a/beagle/debian-rfs/lib/libpthread.so.0 b/beagle/debian-rfs/lib/libpthread.so.0
new file mode 120000
index 0000000..d3f105a
--- /dev/null
+++ b/beagle/debian-rfs/lib/libpthread.so.0
@@ -0,0 +1 @@
+libpthread-2.11.2.so \ No newline at end of file
diff --git a/beagle/debian-rfs/lib/libresolv-2.11.2.so b/beagle/debian-rfs/lib/libresolv-2.11.2.so
new file mode 100644
index 0000000..0ba58e0
--- /dev/null
+++ b/beagle/debian-rfs/lib/libresolv-2.11.2.so
Binary files differ
diff --git a/beagle/debian-rfs/lib/libresolv.so.2 b/beagle/debian-rfs/lib/libresolv.so.2
new file mode 120000
index 0000000..0e93257
--- /dev/null
+++ b/beagle/debian-rfs/lib/libresolv.so.2
@@ -0,0 +1 @@
+libresolv-2.11.2.so \ No newline at end of file
diff --git a/beagle/debian-rfs/lib/librt-2.11.2.so b/beagle/debian-rfs/lib/librt-2.11.2.so
new file mode 100644
index 0000000..c06872b
--- /dev/null
+++ b/beagle/debian-rfs/lib/librt-2.11.2.so
Binary files differ
diff --git a/beagle/debian-rfs/lib/librt.so.1 b/beagle/debian-rfs/lib/librt.so.1
new file mode 120000
index 0000000..c1b1aab
--- /dev/null
+++ b/beagle/debian-rfs/lib/librt.so.1
@@ -0,0 +1 @@
+librt-2.11.2.so \ No newline at end of file
diff --git a/beagle/debian-rfs/lib/libselinux.so.1 b/beagle/debian-rfs/lib/libselinux.so.1
new file mode 100644
index 0000000..43be98d
--- /dev/null
+++ b/beagle/debian-rfs/lib/libselinux.so.1
Binary files differ
diff --git a/beagle/debian-rfs/lib/libsepol.so.1 b/beagle/debian-rfs/lib/libsepol.so.1
new file mode 100644
index 0000000..c942851
--- /dev/null
+++ b/beagle/debian-rfs/lib/libsepol.so.1
Binary files differ
diff --git a/beagle/debian-rfs/lib/libslang.so.2 b/beagle/debian-rfs/lib/libslang.so.2
new file mode 120000
index 0000000..53c4845
--- /dev/null
+++ b/beagle/debian-rfs/lib/libslang.so.2
@@ -0,0 +1 @@
+libslang.so.2.2.2 \ No newline at end of file
diff --git a/beagle/debian-rfs/lib/libslang.so.2.2.2 b/beagle/debian-rfs/lib/libslang.so.2.2.2
new file mode 100644
index 0000000..709cea7
--- /dev/null
+++ b/beagle/debian-rfs/lib/libslang.so.2.2.2
Binary files differ
diff --git a/beagle/debian-rfs/lib/libss.so.2 b/beagle/debian-rfs/lib/libss.so.2
new file mode 120000
index 0000000..9839f3a
--- /dev/null
+++ b/beagle/debian-rfs/lib/libss.so.2
@@ -0,0 +1 @@
+libss.so.2.0 \ No newline at end of file
diff --git a/beagle/debian-rfs/lib/libss.so.2.0 b/beagle/debian-rfs/lib/libss.so.2.0
new file mode 100644
index 0000000..f3c653c
--- /dev/null
+++ b/beagle/debian-rfs/lib/libss.so.2.0
Binary files differ
diff --git a/beagle/debian-rfs/lib/libthread_db-1.0.so b/beagle/debian-rfs/lib/libthread_db-1.0.so
new file mode 100644
index 0000000..4177bd0
--- /dev/null
+++ b/beagle/debian-rfs/lib/libthread_db-1.0.so
Binary files differ
diff --git a/beagle/debian-rfs/lib/libthread_db.so.1 b/beagle/debian-rfs/lib/libthread_db.so.1
new file mode 120000
index 0000000..bc52514
--- /dev/null
+++ b/beagle/debian-rfs/lib/libthread_db.so.1
@@ -0,0 +1 @@
+libthread_db-1.0.so \ No newline at end of file
diff --git a/beagle/debian-rfs/lib/libtic.so.5 b/beagle/debian-rfs/lib/libtic.so.5
new file mode 120000
index 0000000..0584f3f
--- /dev/null
+++ b/beagle/debian-rfs/lib/libtic.so.5
@@ -0,0 +1 @@
+libtic.so.5.7 \ No newline at end of file
diff --git a/beagle/debian-rfs/lib/libtic.so.5.7 b/beagle/debian-rfs/lib/libtic.so.5.7
new file mode 100644
index 0000000..4d2493e
--- /dev/null
+++ b/beagle/debian-rfs/lib/libtic.so.5.7
Binary files differ
diff --git a/beagle/debian-rfs/lib/libutil-2.11.2.so b/beagle/debian-rfs/lib/libutil-2.11.2.so
new file mode 100644
index 0000000..0e678bc
--- /dev/null
+++ b/beagle/debian-rfs/lib/libutil-2.11.2.so
Binary files differ
diff --git a/beagle/debian-rfs/lib/libutil.so.1 b/beagle/debian-rfs/lib/libutil.so.1
new file mode 120000
index 0000000..34a2279
--- /dev/null
+++ b/beagle/debian-rfs/lib/libutil.so.1
@@ -0,0 +1 @@
+libutil-2.11.2.so \ No newline at end of file
diff --git a/beagle/debian-rfs/lib/libuuid.so.1 b/beagle/debian-rfs/lib/libuuid.so.1
new file mode 120000
index 0000000..774fbfe
--- /dev/null
+++ b/beagle/debian-rfs/lib/libuuid.so.1
@@ -0,0 +1 @@
+libuuid.so.1.3.0 \ No newline at end of file
diff --git a/beagle/debian-rfs/lib/libuuid.so.1.3.0 b/beagle/debian-rfs/lib/libuuid.so.1.3.0
new file mode 100644
index 0000000..4af3063
--- /dev/null
+++ b/beagle/debian-rfs/lib/libuuid.so.1.3.0
Binary files differ
diff --git a/beagle/debian-rfs/lib/lsb/init-functions b/beagle/debian-rfs/lib/lsb/init-functions
new file mode 100644
index 0000000..0514b0f
--- /dev/null
+++ b/beagle/debian-rfs/lib/lsb/init-functions
@@ -0,0 +1,373 @@
+# /lib/lsb/init-functions for Debian -*- shell-script -*-
+#
+#Copyright (c) 2002-08 Chris Lawrence
+#All rights reserved.
+#
+#Redistribution and use in source and binary forms, with or without
+#modification, are permitted provided that the following conditions
+#are met:
+#1. Redistributions of source code must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#2. Redistributions in binary form must reproduce the above copyright
+# notice, this list of conditions and the following disclaimer in the
+# documentation and/or other materials provided with the distribution.
+#3. Neither the name of the author nor the names of other contributors
+# may be used to endorse or promote products derived from this software
+# without specific prior written permission.
+#
+#THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
+#IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+#WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+#ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE
+#LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+#CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+#SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
+#BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+#WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
+#OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+#EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+start_daemon () {
+ local force nice pidfile exec i args
+ force=0
+ nice=0
+ pidfile=/dev/null
+
+ OPTIND=1
+ while getopts fn:p: opt ; do
+ case "$opt" in
+ f) force=1;;
+ n) nice="$OPTARG";;
+ p) pidfile="$OPTARG";;
+ esac
+ done
+
+ shift $(($OPTIND - 1))
+ if [ "$1" = '--' ]; then
+ shift
+ fi
+
+ exec="$1"; shift
+
+ args="--start --nicelevel $nice --quiet --oknodo"
+ if [ $force = 1 ]; then
+ /sbin/start-stop-daemon $args --chdir "$PWD" --startas $exec --pidfile /dev/null -- "$@"
+ elif [ $pidfile ]; then
+ /sbin/start-stop-daemon $args --chdir "$PWD" --exec $exec --oknodo --pidfile "$pidfile" -- "$@"
+ else
+ /sbin/start-stop-daemon $args --chdir "$PWD" --exec $exec -- "$@"
+ fi
+}
+
+pidofproc () {
+ local pidfile line i pids= status specified pid
+ pidfile=
+ specified=
+
+ OPTIND=1
+ while getopts p: opt ; do
+ case "$opt" in
+ p) pidfile="$OPTARG"; specified=1;;
+ esac
+ done
+ shift $(($OPTIND - 1))
+
+ base=${1##*/}
+ if [ ! "$specified" ]; then
+ pidfile="/var/run/$base.pid"
+ fi
+
+ if [ -n "${pidfile:-}" -a -r "$pidfile" ]; then
+ read pid < "$pidfile"
+ if [ -n "${pid:-}" ]; then
+ if $(kill -0 "${pid:-}" 2> /dev/null); then
+ echo "$pid"
+ return 0
+ elif ps "${pid:-}" >/dev/null 2>&1; then
+ echo "$pid"
+ return 0 # program is running, but not owned by this user
+ else
+ return 1 # program is dead and /var/run pid file exists
+ fi
+ fi
+ fi
+ if [ -x /bin/pidof -a ! "$specified" ]; then
+ status="0"
+ /bin/pidof -o %PPID -x $1 || status="$?"
+ if [ "$status" = 1 ]; then
+ return 3 # program is not running
+ fi
+ return 0
+ fi
+ return 4 # Unable to determine status
+}
+
+# start-stop-daemon uses the same algorithm as "pidofproc" above.
+killproc () {
+ local pidfile sig status base i name_param is_term_sig
+ pidfile=
+ name_param=
+ is_term_sig=no
+
+ OPTIND=1
+ while getopts p: opt ; do
+ case "$opt" in
+ p) pidfile="$OPTARG";;
+ esac
+ done
+ shift $(($OPTIND - 1))
+
+ base=${1##*/}
+ if [ ! $pidfile ]; then
+ name_param="--name $base --pidfile /var/run/$base.pid"
+ else
+ name_param="--pidfile $pidfile"
+ fi
+
+ sig=$(echo ${2:-} | sed -e 's/^-\(.*\)/\1/')
+ sig=$(echo $sig | sed -e 's/^SIG\(.*\)/\1/')
+ if [ -z "$sig" -o "$sig" = 15 -o "$sig" = TERM ]; then
+ is_term_sig=yes
+ fi
+ status=0
+ if [ ! "$is_term_sig" = yes ]; then
+ if [ -n "$sig" ]; then
+ /sbin/start-stop-daemon --stop --signal "$sig" --quiet $name_param || status="$?"
+ else
+ /sbin/start-stop-daemon --stop --quiet $name_param || status="$?"
+ fi
+ else
+ /sbin/start-stop-daemon --stop --quiet --oknodo $name_param || status="$?"
+ fi
+ if [ "$status" = 1 ]; then
+ if [ -n "$sig" ]; then
+ return 0
+ fi
+ return 3 # program is not running
+ fi
+
+ if [ "$status" = 0 -a "$is_term_sig" = yes -a "$pidfile" ]; then
+ pidofproc -p "$pidfile" "$1" >/dev/null || rm -f "$pidfile"
+ fi
+ return 0
+}
+
+# Return LSB status
+status_of_proc () {
+ local pidfile daemon name status
+
+ pidfile=
+ OPTIND=1
+ while getopts p: opt ; do
+ case "$opt" in
+ p) pidfile="$OPTARG";;
+ esac
+ done
+ shift $(($OPTIND - 1))
+
+ if [ -n "$pidfile" ]; then
+ pidfile="-p $pidfile"
+ fi
+ daemon="$1"
+ name="$2"
+
+ status="0"
+ pidofproc $pidfile $daemon >/dev/null || status="$?"
+ if [ "$status" = 0 ]; then
+ log_success_msg "$name is running"
+ return 0
+ elif [ "$status" = 4 ]; then
+ log_failure_msg "could not access PID file for $name"
+ return $status
+ else
+ log_failure_msg "$name is not running"
+ return $status
+ fi
+}
+
+log_use_fancy_output () {
+ TPUT=/usr/bin/tput
+ EXPR=/usr/bin/expr
+ if [ -t 1 ] && [ "x${TERM:-}" != "x" ] && [ "x${TERM:-}" != "xdumb" ] && [ -x $TPUT ] && [ -x $EXPR ] && $TPUT hpa 60 >/dev/null 2>&1 && $TPUT setaf 1 >/dev/null 2>&1; then
+ [ -z $FANCYTTY ] && FANCYTTY=1 || true
+ else
+ FANCYTTY=0
+ fi
+ case "$FANCYTTY" in
+ 1|Y|yes|true) true;;
+ *) false;;
+ esac
+}
+
+log_success_msg () {
+ if [ -n "${1:-}" ]; then
+ log_begin_msg $@
+ fi
+ log_end_msg 0
+}
+
+log_failure_msg () {
+ if [ -n "${1:-}" ]; then
+ log_begin_msg $@ "..."
+ fi
+ log_end_msg 1 || true
+}
+
+log_warning_msg () {
+ if [ -n "${1:-}" ]; then
+ log_begin_msg $@ "..."
+ fi
+ log_end_msg 255 || true
+}
+
+#
+# NON-LSB HELPER FUNCTIONS
+#
+# int get_lsb_header_val (char *scriptpathname, char *key)
+get_lsb_header_val () {
+ if [ ! -f "$1" ] || [ -z "${2:-}" ]; then
+ return 1
+ fi
+ LSB_S="### BEGIN INIT INFO"
+ LSB_E="### END INIT INFO"
+ sed -n "/$LSB_S/,/$LSB_E/ s/# $2: \(.*\)/\1/p" $1
+}
+
+# int log_begin_message (char *message)
+log_begin_msg () {
+ if [ -z "${1:-}" ]; then
+ return 1
+ fi
+ echo -n "$@"
+}
+
+# Sample usage:
+# log_daemon_msg "Starting GNOME Login Manager" "gdm"
+#
+# On Debian, would output "Starting GNOME Login Manager: gdm"
+# On Ubuntu, would output " * Starting GNOME Login Manager..."
+#
+# If the second argument is omitted, logging suitable for use with
+# log_progress_msg() is used:
+#
+# log_daemon_msg "Starting remote filesystem services"
+#
+# On Debian, would output "Starting remote filesystem services:"
+# On Ubuntu, would output " * Starting remote filesystem services..."
+
+log_daemon_msg () {
+ if [ -z "${1:-}" ]; then
+ return 1
+ fi
+ log_daemon_msg_pre "$@"
+
+ if [ -z "${2:-}" ]; then
+ echo -n "$1:"
+ return
+ fi
+
+ echo -n "$1: $2"
+ log_daemon_msg_post "$@"
+}
+
+# #319739
+#
+# Per policy docs:
+#
+# log_daemon_msg "Starting remote file system services"
+# log_progress_msg "nfsd"; start-stop-daemon --start --quiet nfsd
+# log_progress_msg "mountd"; start-stop-daemon --start --quiet mountd
+# log_progress_msg "ugidd"; start-stop-daemon --start --quiet ugidd
+# log_end_msg 0
+#
+# You could also do something fancy with log_end_msg here based on the
+# return values of start-stop-daemon; this is left as an exercise for
+# the reader...
+#
+# On Ubuntu, one would expect log_progress_msg to be a no-op.
+log_progress_msg () {
+ if [ -z "${1:-}" ]; then
+ return 1
+ fi
+ echo -n " $@"
+}
+
+
+# int log_end_message (int exitstatus)
+log_end_msg () {
+ # If no arguments were passed, return
+ if [ -z "${1:-}" ]; then
+ return 1
+ fi
+
+ retval=$1
+
+ log_end_msg_pre "$@"
+
+ # Only do the fancy stuff if we have an appropriate terminal
+ # and if /usr is already mounted
+ if log_use_fancy_output; then
+ RED=`$TPUT setaf 1`
+ YELLOW=`$TPUT setaf 3`
+ NORMAL=`$TPUT op`
+ else
+ RED=''
+ YELLOW=''
+ NORMAL=''
+ fi
+
+ if [ $1 -eq 0 ]; then
+ echo "."
+ elif [ $1 -eq 255 ]; then
+ /bin/echo -e " ${YELLOW}(warning).${NORMAL}"
+ else
+ /bin/echo -e " ${RED}failed!${NORMAL}"
+ fi
+ log_end_msg_post "$@"
+ return $retval
+}
+
+log_action_msg () {
+ echo "$@."
+}
+
+log_action_begin_msg () {
+ echo -n "$@..."
+}
+
+log_action_cont_msg () {
+ echo -n "$@..."
+}
+
+log_action_end_msg () {
+ log_action_end_msg_pre "$@"
+ if [ -z "${2:-}" ]; then
+ end="."
+ else
+ end=" ($2)."
+ fi
+
+ if [ $1 -eq 0 ]; then
+ echo "done${end}"
+ else
+ if log_use_fancy_output; then
+ RED=`$TPUT setaf 1`
+ NORMAL=`$TPUT op`
+ /bin/echo -e "${RED}failed${end}${NORMAL}"
+ else
+ echo "failed${end}"
+ fi
+ fi
+ log_action_end_msg_post "$@"
+}
+
+# Hooks for /etc/lsb-base-logging.sh
+log_daemon_msg_pre () { :; }
+log_daemon_msg_post () { :; }
+log_end_msg_pre () { :; }
+log_end_msg_post () { :; }
+log_action_end_msg_pre () { :; }
+log_action_end_msg_post () { :; }
+
+FANCYTTY=
+[ -e /etc/lsb-base-logging.sh ] && . /etc/lsb-base-logging.sh || true
diff --git a/beagle/debian-rfs/lib/security/pam_access.so b/beagle/debian-rfs/lib/security/pam_access.so
new file mode 100644
index 0000000..011bb11
--- /dev/null
+++ b/beagle/debian-rfs/lib/security/pam_access.so
Binary files differ
diff --git a/beagle/debian-rfs/lib/security/pam_debug.so b/beagle/debian-rfs/lib/security/pam_debug.so
new file mode 100644
index 0000000..5a0c825
--- /dev/null
+++ b/beagle/debian-rfs/lib/security/pam_debug.so
Binary files differ
diff --git a/beagle/debian-rfs/lib/security/pam_deny.so b/beagle/debian-rfs/lib/security/pam_deny.so
new file mode 100644
index 0000000..af9325f
--- /dev/null
+++ b/beagle/debian-rfs/lib/security/pam_deny.so
Binary files differ
diff --git a/beagle/debian-rfs/lib/security/pam_echo.so b/beagle/debian-rfs/lib/security/pam_echo.so
new file mode 100644
index 0000000..38c65b9
--- /dev/null
+++ b/beagle/debian-rfs/lib/security/pam_echo.so
Binary files differ
diff --git a/beagle/debian-rfs/lib/security/pam_env.so b/beagle/debian-rfs/lib/security/pam_env.so
new file mode 100644
index 0000000..4abcf92
--- /dev/null
+++ b/beagle/debian-rfs/lib/security/pam_env.so
Binary files differ
diff --git a/beagle/debian-rfs/lib/security/pam_exec.so b/beagle/debian-rfs/lib/security/pam_exec.so
new file mode 100644
index 0000000..343f3be
--- /dev/null
+++ b/beagle/debian-rfs/lib/security/pam_exec.so
Binary files differ
diff --git a/beagle/debian-rfs/lib/security/pam_faildelay.so b/beagle/debian-rfs/lib/security/pam_faildelay.so
new file mode 100644
index 0000000..1a43dc3
--- /dev/null
+++ b/beagle/debian-rfs/lib/security/pam_faildelay.so
Binary files differ
diff --git a/beagle/debian-rfs/lib/security/pam_filter.so b/beagle/debian-rfs/lib/security/pam_filter.so
new file mode 100644
index 0000000..01f9d29
--- /dev/null
+++ b/beagle/debian-rfs/lib/security/pam_filter.so
Binary files differ
diff --git a/beagle/debian-rfs/lib/security/pam_ftp.so b/beagle/debian-rfs/lib/security/pam_ftp.so
new file mode 100644
index 0000000..ed7a4b4
--- /dev/null
+++ b/beagle/debian-rfs/lib/security/pam_ftp.so
Binary files differ
diff --git a/beagle/debian-rfs/lib/security/pam_group.so b/beagle/debian-rfs/lib/security/pam_group.so
new file mode 100644
index 0000000..86212c5
--- /dev/null
+++ b/beagle/debian-rfs/lib/security/pam_group.so
Binary files differ
diff --git a/beagle/debian-rfs/lib/security/pam_issue.so b/beagle/debian-rfs/lib/security/pam_issue.so
new file mode 100644
index 0000000..bc4c7c6
--- /dev/null
+++ b/beagle/debian-rfs/lib/security/pam_issue.so
Binary files differ
diff --git a/beagle/debian-rfs/lib/security/pam_keyinit.so b/beagle/debian-rfs/lib/security/pam_keyinit.so
new file mode 100644
index 0000000..47ea76b
--- /dev/null
+++ b/beagle/debian-rfs/lib/security/pam_keyinit.so
Binary files differ
diff --git a/beagle/debian-rfs/lib/security/pam_lastlog.so b/beagle/debian-rfs/lib/security/pam_lastlog.so
new file mode 100644
index 0000000..fd28ca9
--- /dev/null
+++ b/beagle/debian-rfs/lib/security/pam_lastlog.so
Binary files differ
diff --git a/beagle/debian-rfs/lib/security/pam_limits.so b/beagle/debian-rfs/lib/security/pam_limits.so
new file mode 100644
index 0000000..9dc61db
--- /dev/null
+++ b/beagle/debian-rfs/lib/security/pam_limits.so
Binary files differ
diff --git a/beagle/debian-rfs/lib/security/pam_listfile.so b/beagle/debian-rfs/lib/security/pam_listfile.so
new file mode 100644
index 0000000..68b5637
--- /dev/null
+++ b/beagle/debian-rfs/lib/security/pam_listfile.so
Binary files differ
diff --git a/beagle/debian-rfs/lib/security/pam_localuser.so b/beagle/debian-rfs/lib/security/pam_localuser.so
new file mode 100644
index 0000000..0c6faa3
--- /dev/null
+++ b/beagle/debian-rfs/lib/security/pam_localuser.so
Binary files differ
diff --git a/beagle/debian-rfs/lib/security/pam_loginuid.so b/beagle/debian-rfs/lib/security/pam_loginuid.so
new file mode 100644
index 0000000..d8e9e4b
--- /dev/null
+++ b/beagle/debian-rfs/lib/security/pam_loginuid.so
Binary files differ
diff --git a/beagle/debian-rfs/lib/security/pam_mail.so b/beagle/debian-rfs/lib/security/pam_mail.so
new file mode 100644
index 0000000..9863147
--- /dev/null
+++ b/beagle/debian-rfs/lib/security/pam_mail.so
Binary files differ
diff --git a/beagle/debian-rfs/lib/security/pam_mkhomedir.so b/beagle/debian-rfs/lib/security/pam_mkhomedir.so
new file mode 100644
index 0000000..a18d480
--- /dev/null
+++ b/beagle/debian-rfs/lib/security/pam_mkhomedir.so
Binary files differ
diff --git a/beagle/debian-rfs/lib/security/pam_motd.so b/beagle/debian-rfs/lib/security/pam_motd.so
new file mode 100644
index 0000000..e202c2b
--- /dev/null
+++ b/beagle/debian-rfs/lib/security/pam_motd.so
Binary files differ
diff --git a/beagle/debian-rfs/lib/security/pam_namespace.so b/beagle/debian-rfs/lib/security/pam_namespace.so
new file mode 100644
index 0000000..f60f4ae
--- /dev/null
+++ b/beagle/debian-rfs/lib/security/pam_namespace.so
Binary files differ
diff --git a/beagle/debian-rfs/lib/security/pam_nologin.so b/beagle/debian-rfs/lib/security/pam_nologin.so
new file mode 100644
index 0000000..e2b5b80
--- /dev/null
+++ b/beagle/debian-rfs/lib/security/pam_nologin.so
Binary files differ
diff --git a/beagle/debian-rfs/lib/security/pam_permit.so b/beagle/debian-rfs/lib/security/pam_permit.so
new file mode 100644
index 0000000..3b70919
--- /dev/null
+++ b/beagle/debian-rfs/lib/security/pam_permit.so
Binary files differ
diff --git a/beagle/debian-rfs/lib/security/pam_pwhistory.so b/beagle/debian-rfs/lib/security/pam_pwhistory.so
new file mode 100644
index 0000000..55b0cff
--- /dev/null
+++ b/beagle/debian-rfs/lib/security/pam_pwhistory.so
Binary files differ
diff --git a/beagle/debian-rfs/lib/security/pam_rhosts.so b/beagle/debian-rfs/lib/security/pam_rhosts.so
new file mode 100644
index 0000000..26c6213
--- /dev/null
+++ b/beagle/debian-rfs/lib/security/pam_rhosts.so
Binary files differ
diff --git a/beagle/debian-rfs/lib/security/pam_rootok.so b/beagle/debian-rfs/lib/security/pam_rootok.so
new file mode 100644
index 0000000..097b3c0
--- /dev/null
+++ b/beagle/debian-rfs/lib/security/pam_rootok.so
Binary files differ
diff --git a/beagle/debian-rfs/lib/security/pam_securetty.so b/beagle/debian-rfs/lib/security/pam_securetty.so
new file mode 100644
index 0000000..e96d7d0
--- /dev/null
+++ b/beagle/debian-rfs/lib/security/pam_securetty.so
Binary files differ
diff --git a/beagle/debian-rfs/lib/security/pam_selinux.so b/beagle/debian-rfs/lib/security/pam_selinux.so
new file mode 100644
index 0000000..a786114
--- /dev/null
+++ b/beagle/debian-rfs/lib/security/pam_selinux.so
Binary files differ
diff --git a/beagle/debian-rfs/lib/security/pam_sepermit.so b/beagle/debian-rfs/lib/security/pam_sepermit.so
new file mode 100644
index 0000000..2fe47e5
--- /dev/null
+++ b/beagle/debian-rfs/lib/security/pam_sepermit.so
Binary files differ
diff --git a/beagle/debian-rfs/lib/security/pam_shells.so b/beagle/debian-rfs/lib/security/pam_shells.so
new file mode 100644
index 0000000..27b4648
--- /dev/null
+++ b/beagle/debian-rfs/lib/security/pam_shells.so
Binary files differ
diff --git a/beagle/debian-rfs/lib/security/pam_stress.so b/beagle/debian-rfs/lib/security/pam_stress.so
new file mode 100644
index 0000000..cc15d6b
--- /dev/null
+++ b/beagle/debian-rfs/lib/security/pam_stress.so
Binary files differ
diff --git a/beagle/debian-rfs/lib/security/pam_succeed_if.so b/beagle/debian-rfs/lib/security/pam_succeed_if.so
new file mode 100644
index 0000000..54f599a
--- /dev/null
+++ b/beagle/debian-rfs/lib/security/pam_succeed_if.so
Binary files differ
diff --git a/beagle/debian-rfs/lib/security/pam_tally.so b/beagle/debian-rfs/lib/security/pam_tally.so
new file mode 100644
index 0000000..3f14fae
--- /dev/null
+++ b/beagle/debian-rfs/lib/security/pam_tally.so
Binary files differ
diff --git a/beagle/debian-rfs/lib/security/pam_tally2.so b/beagle/debian-rfs/lib/security/pam_tally2.so
new file mode 100644
index 0000000..23082bd
--- /dev/null
+++ b/beagle/debian-rfs/lib/security/pam_tally2.so
Binary files differ
diff --git a/beagle/debian-rfs/lib/security/pam_time.so b/beagle/debian-rfs/lib/security/pam_time.so
new file mode 100644
index 0000000..e3cb67d
--- /dev/null
+++ b/beagle/debian-rfs/lib/security/pam_time.so
Binary files differ
diff --git a/beagle/debian-rfs/lib/security/pam_timestamp.so b/beagle/debian-rfs/lib/security/pam_timestamp.so
new file mode 100644
index 0000000..b3e9efc
--- /dev/null
+++ b/beagle/debian-rfs/lib/security/pam_timestamp.so
Binary files differ
diff --git a/beagle/debian-rfs/lib/security/pam_umask.so b/beagle/debian-rfs/lib/security/pam_umask.so
new file mode 100644
index 0000000..74f1a17
--- /dev/null
+++ b/beagle/debian-rfs/lib/security/pam_umask.so
Binary files differ
diff --git a/beagle/debian-rfs/lib/security/pam_unix.so b/beagle/debian-rfs/lib/security/pam_unix.so
new file mode 100644
index 0000000..a447501
--- /dev/null
+++ b/beagle/debian-rfs/lib/security/pam_unix.so
Binary files differ
diff --git a/beagle/debian-rfs/lib/security/pam_userdb.so b/beagle/debian-rfs/lib/security/pam_userdb.so
new file mode 100644
index 0000000..4d6b594
--- /dev/null
+++ b/beagle/debian-rfs/lib/security/pam_userdb.so
Binary files differ
diff --git a/beagle/debian-rfs/lib/security/pam_warn.so b/beagle/debian-rfs/lib/security/pam_warn.so
new file mode 100644
index 0000000..e211770
--- /dev/null
+++ b/beagle/debian-rfs/lib/security/pam_warn.so
Binary files differ
diff --git a/beagle/debian-rfs/lib/security/pam_wheel.so b/beagle/debian-rfs/lib/security/pam_wheel.so
new file mode 100644
index 0000000..700482c
--- /dev/null
+++ b/beagle/debian-rfs/lib/security/pam_wheel.so
Binary files differ
diff --git a/beagle/debian-rfs/lib/security/pam_xauth.so b/beagle/debian-rfs/lib/security/pam_xauth.so
new file mode 100644
index 0000000..3863177
--- /dev/null
+++ b/beagle/debian-rfs/lib/security/pam_xauth.so
Binary files differ
diff --git a/beagle/debian-rfs/lib/terminfo/E/Eterm b/beagle/debian-rfs/lib/terminfo/E/Eterm
new file mode 100644
index 0000000..f6337a4
--- /dev/null
+++ b/beagle/debian-rfs/lib/terminfo/E/Eterm
Binary files differ
diff --git a/beagle/debian-rfs/lib/terminfo/E/Eterm-color b/beagle/debian-rfs/lib/terminfo/E/Eterm-color
new file mode 120000
index 0000000..74aebd7
--- /dev/null
+++ b/beagle/debian-rfs/lib/terminfo/E/Eterm-color
@@ -0,0 +1 @@
+Eterm \ No newline at end of file
diff --git a/beagle/debian-rfs/lib/terminfo/a/ansi b/beagle/debian-rfs/lib/terminfo/a/ansi
new file mode 100644
index 0000000..6de7978
--- /dev/null
+++ b/beagle/debian-rfs/lib/terminfo/a/ansi
Binary files differ
diff --git a/beagle/debian-rfs/lib/terminfo/c/cons25 b/beagle/debian-rfs/lib/terminfo/c/cons25
new file mode 100644
index 0000000..09d473c
--- /dev/null
+++ b/beagle/debian-rfs/lib/terminfo/c/cons25
Binary files differ
diff --git a/beagle/debian-rfs/lib/terminfo/c/cons25-debian b/beagle/debian-rfs/lib/terminfo/c/cons25-debian
new file mode 100644
index 0000000..b379983
--- /dev/null
+++ b/beagle/debian-rfs/lib/terminfo/c/cons25-debian
Binary files differ
diff --git a/beagle/debian-rfs/lib/terminfo/c/cygwin b/beagle/debian-rfs/lib/terminfo/c/cygwin
new file mode 100644
index 0000000..3d72886
--- /dev/null
+++ b/beagle/debian-rfs/lib/terminfo/c/cygwin
Binary files differ
diff --git a/beagle/debian-rfs/lib/terminfo/d/dumb b/beagle/debian-rfs/lib/terminfo/d/dumb
new file mode 100644
index 0000000..fd4091a
--- /dev/null
+++ b/beagle/debian-rfs/lib/terminfo/d/dumb
Binary files differ
diff --git a/beagle/debian-rfs/lib/terminfo/h/hurd b/beagle/debian-rfs/lib/terminfo/h/hurd
new file mode 100644
index 0000000..2d48ecb
--- /dev/null
+++ b/beagle/debian-rfs/lib/terminfo/h/hurd
Binary files differ
diff --git a/beagle/debian-rfs/lib/terminfo/l/linux b/beagle/debian-rfs/lib/terminfo/l/linux
new file mode 100644
index 0000000..2055b0a
--- /dev/null
+++ b/beagle/debian-rfs/lib/terminfo/l/linux
Binary files differ
diff --git a/beagle/debian-rfs/lib/terminfo/m/mach b/beagle/debian-rfs/lib/terminfo/m/mach
new file mode 100644
index 0000000..94699c2
--- /dev/null
+++ b/beagle/debian-rfs/lib/terminfo/m/mach
Binary files differ
diff --git a/beagle/debian-rfs/lib/terminfo/m/mach-bold b/beagle/debian-rfs/lib/terminfo/m/mach-bold
new file mode 100644
index 0000000..1b72fcc
--- /dev/null
+++ b/beagle/debian-rfs/lib/terminfo/m/mach-bold
Binary files differ
diff --git a/beagle/debian-rfs/lib/terminfo/m/mach-color b/beagle/debian-rfs/lib/terminfo/m/mach-color
new file mode 100644
index 0000000..0e63d81
--- /dev/null
+++ b/beagle/debian-rfs/lib/terminfo/m/mach-color
Binary files differ
diff --git a/beagle/debian-rfs/lib/terminfo/p/pcansi b/beagle/debian-rfs/lib/terminfo/p/pcansi
new file mode 100644
index 0000000..b24fba9
--- /dev/null
+++ b/beagle/debian-rfs/lib/terminfo/p/pcansi
Binary files differ
diff --git a/beagle/debian-rfs/lib/terminfo/r/rxvt b/beagle/debian-rfs/lib/terminfo/r/rxvt
new file mode 100644
index 0000000..6ba1a8e
--- /dev/null
+++ b/beagle/debian-rfs/lib/terminfo/r/rxvt
Binary files differ
diff --git a/beagle/debian-rfs/lib/terminfo/r/rxvt-basic b/beagle/debian-rfs/lib/terminfo/r/rxvt-basic
new file mode 100644
index 0000000..1b43804
--- /dev/null
+++ b/beagle/debian-rfs/lib/terminfo/r/rxvt-basic
Binary files differ
diff --git a/beagle/debian-rfs/lib/terminfo/r/rxvt-m b/beagle/debian-rfs/lib/terminfo/r/rxvt-m
new file mode 120000
index 0000000..f61abac
--- /dev/null
+++ b/beagle/debian-rfs/lib/terminfo/r/rxvt-m
@@ -0,0 +1 @@
+rxvt-basic \ No newline at end of file
diff --git a/beagle/debian-rfs/lib/terminfo/r/rxvt-unicode b/beagle/debian-rfs/lib/terminfo/r/rxvt-unicode
new file mode 100644
index 0000000..981d9dc
--- /dev/null
+++ b/beagle/debian-rfs/lib/terminfo/r/rxvt-unicode
Binary files differ
diff --git a/beagle/debian-rfs/lib/terminfo/s/screen b/beagle/debian-rfs/lib/terminfo/s/screen
new file mode 100644
index 0000000..de83253
--- /dev/null
+++ b/beagle/debian-rfs/lib/terminfo/s/screen
Binary files differ
diff --git a/beagle/debian-rfs/lib/terminfo/s/screen-256color b/beagle/debian-rfs/lib/terminfo/s/screen-256color
new file mode 100644
index 0000000..3fff4af
--- /dev/null
+++ b/beagle/debian-rfs/lib/terminfo/s/screen-256color
Binary files differ
diff --git a/beagle/debian-rfs/lib/terminfo/s/screen-256color-bce b/beagle/debian-rfs/lib/terminfo/s/screen-256color-bce
new file mode 100644
index 0000000..257fd95
--- /dev/null
+++ b/beagle/debian-rfs/lib/terminfo/s/screen-256color-bce
Binary files differ
diff --git a/beagle/debian-rfs/lib/terminfo/s/screen-bce b/beagle/debian-rfs/lib/terminfo/s/screen-bce
new file mode 100644
index 0000000..b8247b1
--- /dev/null
+++ b/beagle/debian-rfs/lib/terminfo/s/screen-bce
Binary files differ
diff --git a/beagle/debian-rfs/lib/terminfo/s/screen-s b/beagle/debian-rfs/lib/terminfo/s/screen-s
new file mode 100644
index 0000000..907baa1
--- /dev/null
+++ b/beagle/debian-rfs/lib/terminfo/s/screen-s
Binary files differ
diff --git a/beagle/debian-rfs/lib/terminfo/s/screen-w b/beagle/debian-rfs/lib/terminfo/s/screen-w
new file mode 100644
index 0000000..cd3f4b3
--- /dev/null
+++ b/beagle/debian-rfs/lib/terminfo/s/screen-w
Binary files differ
diff --git a/beagle/debian-rfs/lib/terminfo/s/sun b/beagle/debian-rfs/lib/terminfo/s/sun
new file mode 100644
index 0000000..1976f97
--- /dev/null
+++ b/beagle/debian-rfs/lib/terminfo/s/sun
Binary files differ
diff --git a/beagle/debian-rfs/lib/terminfo/v/vt100 b/beagle/debian-rfs/lib/terminfo/v/vt100
new file mode 100644
index 0000000..1a7176d
--- /dev/null
+++ b/beagle/debian-rfs/lib/terminfo/v/vt100
Binary files differ
diff --git a/beagle/debian-rfs/lib/terminfo/v/vt102 b/beagle/debian-rfs/lib/terminfo/v/vt102
new file mode 100644
index 0000000..b9a393c
--- /dev/null
+++ b/beagle/debian-rfs/lib/terminfo/v/vt102
Binary files differ
diff --git a/beagle/debian-rfs/lib/terminfo/v/vt220 b/beagle/debian-rfs/lib/terminfo/v/vt220
new file mode 100644
index 0000000..b3d4d9f
--- /dev/null
+++ b/beagle/debian-rfs/lib/terminfo/v/vt220
Binary files differ
diff --git a/beagle/debian-rfs/lib/terminfo/v/vt52 b/beagle/debian-rfs/lib/terminfo/v/vt52
new file mode 100644
index 0000000..b3f466f
--- /dev/null
+++ b/beagle/debian-rfs/lib/terminfo/v/vt52
Binary files differ
diff --git a/beagle/debian-rfs/lib/terminfo/w/wsvt25 b/beagle/debian-rfs/lib/terminfo/w/wsvt25
new file mode 100644
index 0000000..453853a
--- /dev/null
+++ b/beagle/debian-rfs/lib/terminfo/w/wsvt25
Binary files differ
diff --git a/beagle/debian-rfs/lib/terminfo/w/wsvt25m b/beagle/debian-rfs/lib/terminfo/w/wsvt25m
new file mode 100644
index 0000000..5da627b
--- /dev/null
+++ b/beagle/debian-rfs/lib/terminfo/w/wsvt25m
Binary files differ
diff --git a/beagle/debian-rfs/lib/terminfo/x/xterm b/beagle/debian-rfs/lib/terminfo/x/xterm
new file mode 100644
index 0000000..ec28cf0
--- /dev/null
+++ b/beagle/debian-rfs/lib/terminfo/x/xterm
Binary files differ
diff --git a/beagle/debian-rfs/lib/terminfo/x/xterm-256color b/beagle/debian-rfs/lib/terminfo/x/xterm-256color
new file mode 100644
index 0000000..345939d
--- /dev/null
+++ b/beagle/debian-rfs/lib/terminfo/x/xterm-256color
Binary files differ
diff --git a/beagle/debian-rfs/lib/terminfo/x/xterm-color b/beagle/debian-rfs/lib/terminfo/x/xterm-color
new file mode 100644
index 0000000..fc461db
--- /dev/null
+++ b/beagle/debian-rfs/lib/terminfo/x/xterm-color
Binary files differ
diff --git a/beagle/debian-rfs/lib/terminfo/x/xterm-debian b/beagle/debian-rfs/lib/terminfo/x/xterm-debian
new file mode 100644
index 0000000..ace87d2
--- /dev/null
+++ b/beagle/debian-rfs/lib/terminfo/x/xterm-debian
Binary files differ
diff --git a/beagle/debian-rfs/lib/terminfo/x/xterm-mono b/beagle/debian-rfs/lib/terminfo/x/xterm-mono
new file mode 100644
index 0000000..9375a8b
--- /dev/null
+++ b/beagle/debian-rfs/lib/terminfo/x/xterm-mono
Binary files differ
diff --git a/beagle/debian-rfs/lib/terminfo/x/xterm-r5 b/beagle/debian-rfs/lib/terminfo/x/xterm-r5
new file mode 100644
index 0000000..64449b8
--- /dev/null
+++ b/beagle/debian-rfs/lib/terminfo/x/xterm-r5
Binary files differ
diff --git a/beagle/debian-rfs/lib/terminfo/x/xterm-r6 b/beagle/debian-rfs/lib/terminfo/x/xterm-r6
new file mode 100644
index 0000000..9d22f0c
--- /dev/null
+++ b/beagle/debian-rfs/lib/terminfo/x/xterm-r6
Binary files differ
diff --git a/beagle/debian-rfs/lib/terminfo/x/xterm-vt220 b/beagle/debian-rfs/lib/terminfo/x/xterm-vt220
new file mode 100644
index 0000000..7d9fa35
--- /dev/null
+++ b/beagle/debian-rfs/lib/terminfo/x/xterm-vt220
Binary files differ
diff --git a/beagle/debian-rfs/lib/terminfo/x/xterm-xfree86 b/beagle/debian-rfs/lib/terminfo/x/xterm-xfree86
new file mode 100644
index 0000000..3dd2d9d
--- /dev/null
+++ b/beagle/debian-rfs/lib/terminfo/x/xterm-xfree86
Binary files differ
diff --git a/beagle/debian-rfs/lib/udev/hwclock-set b/beagle/debian-rfs/lib/udev/hwclock-set
new file mode 100755
index 0000000..2dcc8ee
--- /dev/null
+++ b/beagle/debian-rfs/lib/udev/hwclock-set
@@ -0,0 +1,17 @@
+#!/bin/sh
+# Reset the System Clock to UTC if the hardware clock from which it
+# was copied by the kernel was in localtime.
+
+dev=$1
+
+if [ -f /etc/default/rcS ] ; then
+ . /etc/default/rcS
+fi
+
+if [ yes != "$UTC" ] ; then
+ if [ yes = "$BADYEAR" ] ; then
+ /sbin/hwclock --rtc=$dev --systz --localtime --noadjfile --badyear
+ else
+ /sbin/hwclock --rtc=$dev --systz --localtime --noadjfile
+ fi
+fi
diff --git a/beagle/debian-rfs/lib/udev/rules.d/85-hwclock.rules b/beagle/debian-rfs/lib/udev/rules.d/85-hwclock.rules
new file mode 100644
index 0000000..e1e66e2
--- /dev/null
+++ b/beagle/debian-rfs/lib/udev/rules.d/85-hwclock.rules
@@ -0,0 +1,4 @@
+# Reset the System Clock to UTC if the hardware clock from which it was
+# copied by the kernel was in localtime.
+
+KERNEL=="rtc0", RUN+="/lib/udev/hwclock-set $root/$name"