autoinst

scripts to make automated installations of debian easy
git clone git://deadbeef.fr/autoinst.git
Log | Files | Refs | README | LICENSE

finish (263B)


      1 #!/bin/sh
      2 
      3 . /etc/runit/common
      4 
      5 # no checks on valid IFACE, we already did that
      6 IFACE="$(echo ${SVNAME} | cut -f2 -d-)"
      7 
      8 EXIT_CODE=$1
      9 STATUS=$2
     10 SLEEP=60
     11 
     12 if test "$EXIT_CODE" = "1"
     13 then
     14 	test "$VERBOSE" = "yes" && echo unplugged, sleeping $SLEEP
     15 	sleep $SLEEP
     16 fi