Manual Page Search Parameters

PAUSE(1) General Commands Manual PAUSE(1)

pausedon't exit, efficiently

pause

pause waits to be terminated by a signal. It can be used when service supervision is used but there is no long-running program to supervise. pause uses minimal system resources.

Setting up a static IP address with plugsv(8).

/etc/netsv/eth0/run:

#!/bin/sh
ip link set eth0 up
ip addr add 192.0.2.1/24 dev eth0
exec pause

/etc/netsv/eth0/finish:

#!/bin/sh
ip addr del 192.0.2.1/24 dev eth0
ip link set eth0 down

sleep(1), pause(2)

Leah Neukirchen, leah@vuxu.org.

September 27, 2012 Linux