lfs-execline-scripts

Repository for execline scripts used in my linux-from-scratch builds
Log | Files | Refs

svc.runservice (296B)


      1 #!/usr/bin/execlineb -S3
      2 # service - $1
      3 # dir - $2
      4 # cmd - $3
      5 backtick funnyvaridontknownameof { pipeline { stat -L -t "${2}/${1}" } cut -d' ' -f 2 }
      6 ifte { eltest $funnvaridontknownameof -eq 0 }
      7   # then
      8   { background { ./bare.sh ${1} ${3} } }
      9   # else
     10   background { "${2}/${1}" "${3}" }
     11 # fi