automated test for pppoe

This commit is contained in:
Daniel Barlow
2022-09-26 10:47:29 +01:00
parent f3f51ac6be
commit cbee488d22
3 changed files with 35 additions and 10 deletions

View File

@@ -3,8 +3,9 @@
if test "$1" = "--background" ; then
socket=$2
echo "running in background, socket is $socket"
flags="--daemonize -chardev socket,id=sock,path=$2,server=on,wait=off,mux=on -mon chardev=sock,mode=readline -serial chardev:sock "
pid="`dirname $socket`/`basename $socket .sock`.pid"
echo "running in background, socket is $socket, pid $pid"
flags="--daemonize --pidfile $pid -chardev socket,id=sock,path=$2,server=on,wait=off,mux=on -mon chardev=sock,mode=readline -serial chardev:sock "
shift;shift
else
flags="-serial mon:stdio"