mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:17:35 +00:00
Userland+Meta: Add new helper program for network settings
This little program allows us to take the NetworkSettings app away from being an elevated GUI app. It receives a JsonObject on STDIN and writes it to the global Network configuration file. If the write was successfull it will apply the changes.
This commit is contained in:
parent
041e29e585
commit
639aee037f
3 changed files with 70 additions and 1 deletions
|
@ -129,6 +129,11 @@ if [ -f mnt/boot/Kernel.debug ]; then
|
|||
chmod 0400 mnt/boot/Kernel.debug
|
||||
fi
|
||||
|
||||
if [ -f mnt/bin/network-settings ]; then
|
||||
chown 0:0 mnt/bin/network-settings
|
||||
chmod 500 mnt/bin/network-settings
|
||||
fi
|
||||
|
||||
chmod 600 mnt/etc/shadow
|
||||
chmod 755 mnt/res/devel/templates/*.postcreate
|
||||
echo "done"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue