parent
ea1e29b4bd
commit
dc68aca96a
@ -1,3 +1,7 @@ |
||||
#!/bin/bash |
||||
# Copyright (c) 2025 Robert Strutts <bobs@NewToFaith.com> |
||||
# License: MIT |
||||
# GIT: https://git.mysnippetsofcode.com/bobs/execguard |
||||
|
||||
/usr/bin/sudo /usr/bin/sqlite3 /etc/execguard/system.db "SELECT path FROM allowed;" > migrated_apps.txt |
||||
echo "On the remote PC: \$ sudo execguard --initFile migrated_apps.txt" |
||||
|
||||
@ -1,4 +1,9 @@ |
||||
#!/bin/bash |
||||
|
||||
# Copyright (c) 2025 Robert Strutts <bobs@NewToFaith.com> |
||||
# License: MIT |
||||
# GIT: https://git.mysnippetsofcode.com/bobs/execguard |
||||
|
||||
/usr/bin/echo "Stopping execguard service if on..." |
||||
/usr/bin/sudo /usr/bin/systemctl stop execguard@init |
||||
/usr/bin/sudo /usr/bin/systemctl stop execguard@enforce |
||||
|
||||
Loading…
Reference in new issue