diff options
author | 2025-05-20 10:19:19 +0200 | |
---|---|---|
committer | 2025-05-20 10:19:19 +0200 | |
commit | 9b92b3869b49100306e0971e668343e21951a5c9 (patch) | |
tree | caa1b84278f004d387bf5282a9539be202294eab | |
parent | fdcac39ec5b73a3c68e9286523c4ad437cc7a8ca (diff) | |
download | vpn-9b92b3869b49100306e0971e668343e21951a5c9.tar.gz vpn-9b92b3869b49100306e0971e668343e21951a5c9.zip |
Add set_routes function
-rwxr-xr-x[-rw-r--r--] | vpn | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -28,6 +28,12 @@ #!/usr/bin/bash +set_routes() +{ + local devtun=tun0 + echo "$devtun ready." +} + ISROOT=`id -u` if [ $ISROOT != 0 ]; then @@ -35,3 +41,5 @@ if [ $ISROOT != 0 ]; then exit 1 fi +set_routes + |