ansible-role-postgresql-pgpool/files/ip_script

13 lines
108 B
Bash

#!/bin/bash
#
# Exec /sbin/ip as root via sudo
RETVAL=
CMD=/sbin/ip
sudo $CMD $@
RETVAL=$?
exit $RETVAL