mirror of https://github.com/OpenIPC/firmware.git
				
				
				
			Small and unimportant edits and file moves (#499)
							parent
							
								
									70e8bfe579
								
							
						
					
					
						commit
						5544287cdc
					
				|  | @ -24,8 +24,11 @@ my_mount() | ||||||
|     # copy files from autoconfig folder |     # copy files from autoconfig folder | ||||||
|     [ -d "${destdir}/$1/autoconfig" ] && cp -afv ${destdir}/$1/autoconfig/* / | logger -s -p daemon.info -t autoconfig |     [ -d "${destdir}/$1/autoconfig" ] && cp -afv ${destdir}/$1/autoconfig/* / | logger -s -p daemon.info -t autoconfig | ||||||
| 
 | 
 | ||||||
|     # execution of the specified commands |     # execution of the specified commands one time | ||||||
|     [ -f "${destdir}/$1/autoconfig.sh" ] && (sh ${destdir}/$1/autoconfig.sh ; rm -f ${destdir}/$1/autoconfig.sh) | logger -s -p daemon.info -t autoconfig |     [ -f "${destdir}/$1/autoconfig.sh" ] && (sh ${destdir}/$1/autoconfig.sh ; rm -f ${destdir}/$1/autoconfig.sh) | logger -s -p daemon.info -t autoconfig | ||||||
|  | 
 | ||||||
|  |     # execution of the specified commands | ||||||
|  |     [ -f "${destdir}/$1/autostart.sh" ] && sh ${destdir}/$1/autostart.sh | logger -s -p daemon.info -t autostart | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| case "${ACTION}" in | case "${ACTION}" in | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue