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 /;
|
mount -o remount,rw /;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Set sticky bit on /tmp
|
||||||
|
chmod +t /tmp
|
||||||
|
|
||||||
# Make sure resolv.conf is a symlink to so resolvconf works
|
# Make sure resolv.conf is a symlink to so resolvconf works
|
||||||
# if [ ! -h /etc/resolv.conf ]; then
|
# if [ ! -h /etc/resolv.conf ]; then
|
||||||
# rm -f /etc/resolv.conf
|
# rm -f /etc/resolv.conf
|
||||||
|
@ -22,6 +25,7 @@ fi
|
||||||
# sleep 10s
|
# sleep 10s
|
||||||
# exit 1
|
# exit 1
|
||||||
# fi
|
# fi
|
||||||
|
|
||||||
# Add some DNS servers to make domain lookup more likely
|
# Add some DNS servers to make domain lookup more likely
|
||||||
echo '' >> /etc/resolv.conf
|
echo '' >> /etc/resolv.conf
|
||||||
echo '# Added at myNode startup' >> /etc/resolv.conf
|
echo '# Added at myNode startup' >> /etc/resolv.conf
|
||||||
|
|
Loading…
Reference in New Issue
Block a user