Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/post.d/rc.sh
blob: c91fae36eb28e9d7424abf1c9e0550db356c8358 (plain)
1
2
3
4
5
6
grep sweets.d /etc/rc.local >/dev/null || cat >>/etc/rc.local <<EOF
for i in \$(find /etc/sweets.d -type f -printf "%P\n"); do
    [ /etc/sweets.d/\$i -nt /\$i ] && cp -a /etc/sweets.d/\$i /\$i
done
EOF
. /etc/rc.local