mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-12-26 06:28:07 +00:00
Set sticky bit on /tmp
This commit is contained in:
parent
19b7f25144
commit
82d27f1573
|
@ -10,6 +10,9 @@ if [ ! -w / ]; then
|
|||
mount -o remount,rw /;
|
||||
fi
|
||||
|
||||
# Set sticky bit on /tmp
|
||||
chmod +t /tmp
|
||||
|
||||
# Make sure resolv.conf is a symlink to so resolvconf works
|
||||
# if [ ! -h /etc/resolv.conf ]; then
|
||||
# rm -f /etc/resolv.conf
|
||||
|
@ -22,6 +25,7 @@ fi
|
|||
# sleep 10s
|
||||
# exit 1
|
||||
# fi
|
||||
|
||||
# Add some DNS servers to make domain lookup more likely
|
||||
echo '' >> /etc/resolv.conf
|
||||
echo '# Added at myNode startup' >> /etc/resolv.conf
|
||||
|
|
Loading…
Reference in New Issue
Block a user