mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-15 02:42:58 +00:00
Continue migration to install
This commit is contained in:
parent
5382b4fa37
commit
36987cb1cc
1 changed files with 5 additions and 7 deletions
|
@ -526,13 +526,11 @@ installScripts() {
|
||||||
# Install the scripts from /etc/.pihole to their various locations
|
# Install the scripts from /etc/.pihole to their various locations
|
||||||
${SUDO} echo ":::"
|
${SUDO} echo ":::"
|
||||||
${SUDO} echo -n "::: Installing scripts to /opt/pihole..."
|
${SUDO} echo -n "::: Installing scripts to /opt/pihole..."
|
||||||
${SUDO} install -o ${USER} -m755 -d /opt/pihole
|
${SUDO} install -o "${USER}" -m755 -d /opt/pihole
|
||||||
|
|
||||||
${SUDO} cp /etc/.pihole/gravity.sh /opt/pihole/gravity.sh
|
cd /etc/.pihole/
|
||||||
${SUDO} cp /etc/.pihole/advanced/Scripts/chronometer.sh /opt/pihole/chronometer.sh
|
|
||||||
${SUDO} cp /etc/.pihole/advanced/Scripts/whitelist.sh /opt/pihole/whitelist.sh
|
${SUDO} install cp "${USER}" -m755 -d /opt/pihole/ gravity.sh chronometer.sh whitelist.sh blacklist.sh piholeDebug.sh
|
||||||
${SUDO} cp /etc/.pihole/advanced/Scripts/blacklist.sh /opt/pihole/blacklist.sh
|
|
||||||
${SUDO} cp /etc/.pihole/advanced/Scripts/piholeDebug.sh /opt/pihole/piholeDebug.sh
|
|
||||||
${SUDO} cp /etc/.pihole/advanced/Scripts/piholeLogFlush.sh /opt/pihole/piholeLogFlush.sh
|
${SUDO} cp /etc/.pihole/advanced/Scripts/piholeLogFlush.sh /opt/pihole/piholeLogFlush.sh
|
||||||
${SUDO} cp /etc/.pihole/automated\ install/uninstall.sh /opt/pihole/uninstall.sh
|
${SUDO} cp /etc/.pihole/automated\ install/uninstall.sh /opt/pihole/uninstall.sh
|
||||||
${SUDO} cp /etc/.pihole/advanced/Scripts/setupLCD.sh /opt/pihole/setupLCD.sh
|
${SUDO} cp /etc/.pihole/advanced/Scripts/setupLCD.sh /opt/pihole/setupLCD.sh
|
||||||
|
|
Loading…
Reference in a new issue