48 lines
991 B
Bash
48 lines
991 B
Bash
#!/bin/bash
|
|
executables="\
|
|
/root/rescuebru/rbruserver.sh \
|
|
/root/rescuebru/rescuebru.sh \
|
|
/root/rescuebru/xrbruserver.sh \
|
|
/root/rescuebru/xrescuebru.sh \
|
|
/root/rescuebru/clone.sh \
|
|
/root/rescuebru/blank.sh \
|
|
/root/rescuebru/faultmonitor.sh \
|
|
/root/rescuebru/showcapacitywindow.sh \
|
|
/root/rescuebru/showfaultwindow.sh \
|
|
/root/rescuebru/showstatuswindow.sh \
|
|
/root/rescuebru/updatecapacity.sh \
|
|
/root/rescuebru/updatestatus.sh \
|
|
/root/autorun1 \
|
|
/root/autorun2 \
|
|
/root/autorun3 \
|
|
/root/autorun4 \
|
|
/root/srcdtips \
|
|
/etc/init.d/pxebootsrv \
|
|
/etc/init.d/sysresccd \
|
|
/etc/init.d/dostartx \
|
|
/etc/init.d/dhcpd \
|
|
/bin/bashlogin \
|
|
"
|
|
|
|
tools="\
|
|
buildrescuebru \
|
|
fixpermissions \
|
|
get_distributables \
|
|
get_documentation \
|
|
putiso \
|
|
setsymlinks \
|
|
customchroot \
|
|
updatedevsystem \
|
|
updatelocalsrc \
|
|
"
|
|
|
|
for x in $executables; do
|
|
echo "Setting executable bit on $x"
|
|
chmod +x /mnt/custom/customcd/files$x
|
|
done
|
|
for y in $tools; do
|
|
echo "Setting executable bit on $y"
|
|
chmod +x /mnt/custom/buildtools/$y
|
|
done
|
|
|