This repository was archived by the owner on Jan 29, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -111,16 +111,12 @@ rm ${DIRECTORY}/mnt_p2/local/home/.py_backup/log.txt 2> /dev/null
111
111
echo " ## Putting up version file flag"
112
112
echo ${1} > ${DIRECTORY} /mnt_p2/adam_version.txt
113
113
114
- 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
114
+ echo " ## Installing userspace init.d scripts"
115
+ rm -f ${DIRECTORY} /mnt_p2/local/etc/init.d/* 2> /dev/null
118
116
cp ${DIRECTORY} /S10_create_ext_scaffolding.sh ${DIRECTORY} /mnt_p2/local/etc/init.d
119
- chown 0:0 ${DIRECTORY} /mnt_p2/local/etc/shadow
120
-
121
- echo " ## Installing SM disable script"
117
+ chown 0:0 ${DIRECTORY} /mnt_p2/local/etc/init.d/S10_create_ext_scaffolding.sh
122
118
cp ${DIRECTORY} /S20_disable_sm.sh ${DIRECTORY} /mnt_p2/local/etc/init.d
123
- chown 0:0 ${DIRECTORY} /mnt_p2/local/etc/shadow
119
+ chown 0:0 ${DIRECTORY} /mnt_p2/local/etc/init.d/S20_disable_sm.sh
124
120
125
121
echo " ## Installing Py Backup config"
126
122
cp ${DIRECTORY} /config.ini ${DIRECTORY} /mnt_p2/local/home/.py_backup/
You can’t perform that action at this time.
0 commit comments