summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUser Mms <mms@voyager.local>2024-10-29 22:23:21 +0100
committerUser Mms <mms@voyager.local>2024-10-29 22:23:21 +0100
commitc45e404c540a55756a850547c32ecd34e9bdeabd (patch)
tree0347a068c9e4e0a9d85d24b5bc430159374b6a71
parent9ecea01edd13ed467be9a1e764f9bcdf1ca83e87 (diff)
some scriptsHEADmaster
-rwxr-xr-xeth.sh10
-rwxr-xr-xhphones.sh3
-rwxr-xr-xmailsync.sh2
3 files changed, 14 insertions, 1 deletions
diff --git a/eth.sh b/eth.sh
new file mode 100755
index 0000000..6b7c421
--- /dev/null
+++ b/eth.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+service netif stop em0
+service netif stop wlan0
+
+service netif restart ue0
+service routing restart
+
+route delete default
+route add default 10.0.1.1
diff --git a/hphones.sh b/hphones.sh
new file mode 100755
index 0000000..e2eff14
--- /dev/null
+++ b/hphones.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+sysctl hw.snd.default_unit=6
diff --git a/mailsync.sh b/mailsync.sh
index ce7a8f5..d5f8e04 100755
--- a/mailsync.sh
+++ b/mailsync.sh
@@ -1,4 +1,4 @@
#!/bin/sh
mbsync -aq
-notmuch 2>& 1 > /dev/null
+notmuch new 2>& 1 > /dev/null