Open LukasKnuth opened 11 years ago
Certainly not the case on Debian right now, but if you're wanting to use raspi-config on a systemd system I'd happily accept patches.
It's deprecated for more up-to-date systems (like Arch). I'm currently looking into it.
This is the service-file I tested.
Description=Resize the root-partition once
[Service]
ExecStart=/sbin/resize2fs -p /dev/asd
ExecStartPost=/usr/bin/systemctl disable resize_once.service && /usr/bin/rm /etc/systemd/syste/resize_once.service
Type=oneshot
[Install]
WantedBy=multi-user.target
The ExecStartPost
-part doesn't seem to work. Better ideas?
initscripts is deprecated, update the code to use systemd.