From c45e404c540a55756a850547c32ecd34e9bdeabd Mon Sep 17 00:00:00 2001 From: User Mms Date: Tue, 29 Oct 2024 22:23:21 +0100 Subject: some scripts --- eth.sh | 10 ++++++++++ hphones.sh | 3 +++ mailsync.sh | 2 +- 3 files changed, 14 insertions(+), 1 deletion(-) create mode 100755 eth.sh create mode 100755 hphones.sh 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 -- cgit v1.2.3