# HG changeset patch # User Christopher Rogers # Date 1302439471 0 # Node ID c1a6007116b3e3d05682447b96d731758f71c4df # Parent 44477f7be4ce47934cc0c8a7be407c0522a999e3 Fixed off option when tazpanel is release. Made sure MAIN_WWW_DIR/slitaz links to /var/www/slitaz. Add slitaz-modular soft link to COOKING folder for new slitaz-modular script. diff -r 44477f7be4ce -r c1a6007116b3 initramfs/usr/bin/local-mirror --- a/initramfs/usr/bin/local-mirror Sun Apr 10 12:23:00 2011 +0000 +++ b/initramfs/usr/bin/local-mirror Sun Apr 10 12:44:31 2011 +0000 @@ -63,6 +63,7 @@ [ -d $STABLE/wok ] || ln -sf $REPOS_DIR/wok-stable $STABLE/clean-wok [ -d $STABLE/wok ] || ln -sf $REPOS_DIR/wok-stable $STABLE/wok [ -f $SRCDIR/sources.list ] || tazwok gen-src $SRCDIR + [ -d $REPOS_DIR/slitaz-modular ] && ln -sf $REPOS_DIR/slitaz-modular $COOKING/slitaz-modular echo -e "$MAIN_WWW_DIR/bb" | tazwok webserver on ;; pkgs) @@ -92,6 +93,7 @@ [ -f $MAIN_WWW_DIR/slitaz/mirror/sources/packages/${i:0:1}/$i ] || ln -s $SRCDIR/$i $MAIN_WWW_DIR/slitaz/mirror/sources/packages/${i:0:1}/$i done fi + [ -d /var/www/slitaz ] || ln -sf $MAIN_WWW_DIR/slitaz /var/www/slitaz ;; boot) [ -d $BOOT_WWW_DIR ] && cp -a $BOOT_WWW_DIR $MAIN_WWW_DIR/$b @@ -206,7 +208,7 @@ [ "$c" = "hg" ] && repos fi done - echo "127.0.0.1 localhost $(cat /etc/hostname)" > /etc/hosts + echo "127.0.0.1 localhost $(cat /etc/hostname) tazpanel" > /etc/hosts for hostname in $ADDRESS; do #if [ ! $(grep -l "${BASE_IP}.$i $hostname" /etc/hosts) ]; then echo "$IP_ADDR $hostname" >> /etc/hosts