Skip to content
This repository was archived by the owner on Jan 29, 2025. It is now read-only.

Commit c6dc1e4

Browse files
committed
Fix S20 script copying.
1 parent cafb1a0 commit c6dc1e4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

manual_build/build.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,11 +112,14 @@ echo "## Putting up version file flag"
112112
echo ${1} > ${DIRECTORY}/mnt_p2/adam_version.txt
113113

114114
echo "## Installing directory scaffolding script"
115+
if [ ! -f ${DIRECTORY}/S01_create_ext_scaffolding.sh ] ; then
116+
rm -f ${DIRECTORY}/S01_create_ext_scaffolding.sh
117+
fi
115118
cp ${DIRECTORY}/S10_create_ext_scaffolding.sh ${DIRECTORY}/mnt_p2/local/etc/init.d
116119
chown 0:0 ${DIRECTORY}/mnt_p2/local/etc/shadow
117120

118121
echo "## Installing SM disable script"
119-
cp ${DIRECTORY}/S10_create_ext_scaffolding.sh ${DIRECTORY}/mnt_p2/local/etc/init.d
122+
cp ${DIRECTORY}/S20_disable_sm.sh ${DIRECTORY}/mnt_p2/local/etc/init.d
120123
chown 0:0 ${DIRECTORY}/mnt_p2/local/etc/shadow
121124

122125
echo "## Installing Py Backup config"

0 commit comments

Comments
 (0)