Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | [Unit] |
| 2 | Description=Opkg first boot configure |
| 3 | DefaultDependencies=no |
| 4 | After=systemd-remount-fs.service systemd-tmpfiles-setup.service tmp.mount |
| 5 | Before=sysinit.target |
| 6 | |
| 7 | [Service] |
| 8 | Type=oneshot |
| 9 | EnvironmentFile=-@SYSCONFDIR@/default/postinst |
| 10 | ExecStart=-@BASE_BINDIR@/sh -c " if [ $POSTINST_LOGGING = '1' ]; then @BINDIR@/opkg configure > $LOGFILE 2>&1; else @BINDIR@/opkg configure; fi" |
| 11 | ExecStartPost=@BASE_BINDIR@/systemctl disable opkg-configure.service |
| 12 | StandardOutput=syslog |
| 13 | RemainAfterExit=No |
| 14 | |
| 15 | [Install] |
| 16 | WantedBy=basic.target |
| 17 | WantedBy=sysinit.target |