Änderungen

Zur Navigation springen Zur Suche springen
K
Zeile 4: Zeile 4:  
<source lang="bash">
 
<source lang="bash">
 
  ssh router
 
  ssh router
 +
 
  cd /tmp
 
  cd /tmp
 
  wget http://intercity-vpn.de/firmware/broadcom/images/testing/tarball.tgz
 
  wget http://intercity-vpn.de/firmware/broadcom/images/testing/tarball.tgz
Zeile 9: Zeile 10:  
  tar xzf /tmp/tarball.tgz
 
  tar xzf /tmp/tarball.tgz
 
  rm /tmp/tarball.tgz
 
  rm /tmp/tarball.tgz
 +
 
  touch /tmp/DEBUG
 
  touch /tmp/DEBUG
 
  /etc/kalua_init
 
  /etc/kalua_init
  for FILE in $( _firmware filelist ); do rm "$FILE"; done
+
 
  CRON="/tmp/.autorun"
+
  for FILE in $( _firmware filelist ); do {
  echo  >$CRON "rm \$0; . /tmp/loader"
+
        rm "$FILE"
  echo >>$CRON "_profile unset_nvram_group"
+
} done
  echo >>$CRON "_profile rebuild_cfe"
+
 
  echo >>$CRON "_profile remap_devs"
+
  cat >/tmp/.autorun <<EOF
  echo >>$CRON "_nvram set boot_wait on"
+
  rm \$0; . /tmp/loader
  echo >>$CRON "_nvram set commit 'alles neu macht der fruehling'"
+
  _profile unset_nvram_group
  echo >>$CRON "rm -fR /tmp/kalua"
+
  _profile rebuild_cfe
  chmod +x $CRON
+
  _profile remap_devs
 +
  _nvram set boot_wait on
 +
  _nvram set commit 'alles neu macht der fruehling'
 +
  rm -fR /tmp/kalua
 +
EOF
 +
 
 +
  chmod +x /tmp/.autorun
 
</source>
 
</source>
  

Navigationsmenü