dndx-phantun/debian/phantun-client-wrapper
Randy Li 4c04473dff deb: add debian files
Signed-off-by: Randy Li <ayaka@soulik.info>
2024-12-12 00:06:57 +08:00

7 lines
140 B
Bash

#!/bin/bash
PID_FILE=$1
shift 1
mkdir -p /var/run/phantun
/usr/libexec/phantun/phantun-client "$@" &
echo $! > /var/run/phantun/${PID_FILE}