Ignore:
Timestamp:
Dec 11, 2016, 11:56:06 AM (3 years ago)
Author:
amain
Message:

rootfs: auto install all debwrt packages

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/debian/rootfs/files/all/usr/sbin/PostInstall

    r517 r868  
    2424# hack for Debian sid
    2525[ -e /tmp/sshd -a ! -e /var/run/sshd ] && mv /tmp/sshd /var/run
    26 
    27 if [ ! -s /etc/apt/sources.list ]; then
    28    debian_release=$( cat /etc/debian_release )
    29    echo "I: setting up /etc/apt/sources.list for ${debian_release}"
    30    cat >/etc/apt/sources.list <<EOF
    31 deb http://ftp.debian.org/debian ${debian_release} main
    32 EOF
    33 fi
    3426
    3527if [ -f /etc/init.d/rcS ] ; then
Note: See TracChangeset for help on using the changeset viewer.