summarylogtreecommitdiffstats
path: root/simple-rt.install
diff options
context:
space:
mode:
Diffstat (limited to 'simple-rt.install')
-rw-r--r--simple-rt.install6
1 files changed, 6 insertions, 0 deletions
diff --git a/simple-rt.install b/simple-rt.install
new file mode 100644
index 000000000000..bb954a0b4006
--- /dev/null
+++ b/simple-rt.install
@@ -0,0 +1,6 @@
+post_upgrade() {
+ export SIMPLERT_INTERFACE=$(ip link show | grep "state UP" | awk -F ': ' '{ print $2}')
+ echo "simple-rt: To start tethering on a network interface run 'sudo systemctl start simple-rt@<interface>'"
+ echo " Available interfaces: $SIMPLERT_INTERFACE"
+ echo " To update the list of available interfaces, reinstall this package"
+}