aboutsummaryrefslogblamecommitdiff
path: root/sh/nc_serv.sh
blob: a9cab32757a6446c5bb72690c51e582044191f05 (plain) (tree)
1
2
3
4
5
6
7
8
9

         

                        
                     
              
                                
                                                                                                           
    
#!/bin/sh

ret=0
while [ $ret -eq 0 ]; do
	nc -l -p 6667
	ret=$?
	echo "Connection closed"
	echo "--------------------------------------------------------------------------------------------"
done