Lines 1312-1317
Link Here
|
1312 |
echo ">>> Removing sbit on non registered ${i/${IMAGE}/}" |
1312 |
echo ">>> Removing sbit on non registered ${i/${IMAGE}/}" |
1313 |
for x in 5 4 3 2 1 0; do echo -ne "\a"; sleep 0.25 ; done |
1313 |
for x in 5 4 3 2 1 0; do echo -ne "\a"; sleep 0.25 ; done |
1314 |
echo -ne "\a" |
1314 |
echo -ne "\a" |
|
|
1315 |
ls_ret=`ls -ldh "${i}"` |
1315 |
chmod ugo-s "${i}" |
1316 |
chmod ugo-s "${i}" |
1316 |
grep ^#${i/${IMAGE}/}$ ${sfconf} > /dev/null || { |
1317 |
grep ^#${i/${IMAGE}/}$ ${sfconf} > /dev/null || { |
1317 |
# sandbox prevents us from writing directly |
1318 |
# sandbox prevents us from writing directly |
Lines 1319-1325
Link Here
|
1319 |
# can easly be bypassed using the addwrite() function |
1320 |
# can easly be bypassed using the addwrite() function |
1320 |
addwrite "${sfconf}" |
1321 |
addwrite "${sfconf}" |
1321 |
echo ">>> Appending commented out entry to ${sfconf} for ${PF}" |
1322 |
echo ">>> Appending commented out entry to ${sfconf} for ${PF}" |
1322 |
ls_ret=`ls -ldh "${i}"` |
|
|
1323 |
echo "## ${ls_ret%${IMAGE}*}${ls_ret#*${IMAGE}}" >> ${sfconf} |
1323 |
echo "## ${ls_ret%${IMAGE}*}${ls_ret#*${IMAGE}}" >> ${sfconf} |
1324 |
echo "#${i/${IMAGE}/}" >> ${sfconf} |
1324 |
echo "#${i/${IMAGE}/}" >> ${sfconf} |
1325 |
# no delwrite() eh? |
1325 |
# no delwrite() eh? |