Using Screen

RW fbsd06 at mlists.homeunix.com
Wed Nov 29 13:09:56 PST 2006


On Wednesday 29 November 2006 17:22, Dan Sikorsky wrote:
> Hey, I have a good question for you guys.
>
> Lets say, I started a job on a computer, if you must know, portmanager -u ,
> and then left... but I know its sitting there stuck on a config window
> waiting for someone to press enter...

As far as the specific problem is concerned, I run the script below, and then 
set BATCH=yes in the environment (so it's picked up by deinstall scripts).



#!/bin/sh

plist=`pkg_version -ovl'<' |awk '{ print $1 }'`

for porg in $plist ; do
    cd  /usr/ports/${porg} && make config-recursive
done





More information about the freebsd-questions mailing list